public class APIAuthenticationException extends APIException
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
APIAuthenticationException()
Default empty constructor.
|
APIAuthenticationException(String message)
Common constructor taking in a message to give the user some context as to where/why the
authentication failed.
|
APIAuthenticationException(String message,
Throwable cause)
Common constructor taking in a message to give the user some context as to where/why the
authentication failed.
|
APIAuthenticationException(Throwable cause)
Constructor giving the user a further cause exception reason that caused this authentication
failure
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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(String message)
message
- String describing where/why the authentication failedpublic APIAuthenticationException(String message, Throwable cause)
message
- String describing where/why the authentication failedcause
- error further up the stream that caused this authentication failurepublic APIAuthenticationException(Throwable cause)
cause
- error further up the stream that caused this authentication failureCopyright © 2024 OpenMRS Inc.. All rights reserved.