public class APIAuthenticationException extends APIException
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
APIAuthenticationException()
Default empty constructor.
|
APIAuthenticationException(java.lang.String message)
Common constructor taking in a message to give the user some context as to where/why the
authentication failed.
|
APIAuthenticationException(java.lang.String message,
java.lang.Throwable cause)
Common constructor taking in a message to give the user some context as to where/why the
authentication failed.
|
APIAuthenticationException(java.lang.Throwable cause)
Constructor giving the user a further cause exception reason that caused this authentication
failure
|
public static final long serialVersionUID
public APIAuthenticationException()
APIAuthenticationException(String)
constructor to provide some context to the user
as to where/why the authentication has failedpublic APIAuthenticationException(java.lang.String message)
message
- String describing where/why the authentication failedpublic APIAuthenticationException(java.lang.String message, java.lang.Throwable cause)
message
- String describing where/why the authentication failedcause
- error further up the stream that caused this authentication failurepublic APIAuthenticationException(java.lang.Throwable cause)
cause
- error further up the stream that caused this authentication failureCopyright © 2018 OpenMRS Inc.. All Rights Reserved.