public class APIException
extends java.lang.RuntimeException
APIException(String, Throwable) or the APIException(String)| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
APIException()
Default empty constructor.
|
APIException(java.lang.String message)
General constructor to give the end user a helpful message that relates to why this error
occurred.
|
APIException(java.lang.String message,
java.lang.Throwable cause)
General constructor to give the end user a helpful message and to also propagate the parent
error exception message.
|
APIException(java.lang.Throwable cause)
Constructor used to simply chain a parent exception cause to an APIException.
|
public static final long serialVersionUID
public APIException()
APIException(String) constructor to specify a helpful message to the end userpublic APIException(java.lang.String message)
message - helpful message string for the end userpublic APIException(java.lang.String message,
java.lang.Throwable cause)
message - helpful message string for the end usercause - the parent exception cause that this APIException is wrapping aroundpublic APIException(java.lang.Throwable cause)
APIException(String, Throwable) constructor if at all
possible instead of this one.cause - the parent exception cause that this APIException is wrapping aroundCopyright © 2018 OpenMRS Inc.. All Rights Reserved.