|
Oracle Access Manager Extensibility Java API Reference 11g Release 1 (11.1.1.5) E22473-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.security.am.plugin.authn.AuthenticationException
public class AuthenticationException
Basic authentication Exception that needs to be thrown from AUthentication plugins.
| Constructor Summary | |
|---|---|
AuthenticationException()Default constructor. |
|
AuthenticationException(AuthenticationErrorCode errorCode)Instantiates a new authentication exception. |
|
AuthenticationException(AuthenticationErrorCode errorCode, java.lang.Throwable t)Instantiates a new authentication exception. |
|
AuthenticationException(java.lang.String key)Instantiates an authentication exception using a message key. |
|
AuthenticationException(java.lang.String key, AuthenticationErrorCode errorCode)Instantiates a new authentication exception. |
|
AuthenticationException(java.lang.String key, AuthenticationErrorCode errorCode, java.lang.Throwable t)Instantiates a new authentication exception. |
|
AuthenticationException(java.lang.String messageId, java.lang.Object[] params)Constructs a new exception with the specified message ID and parameters. |
|
AuthenticationException(java.lang.String key, java.lang.Throwable t)Create Exception. |
|
AuthenticationException(java.lang.String messageId, java.lang.Throwable cause, java.lang.Object[] params)Constructs a new exception with passed message ID, cause, and parameters. |
|
AuthenticationException(java.lang.Throwable t)Instantiates a new authentication exception. |
|
| Method Summary | |
|---|---|
AuthenticationErrorCode |
getErrorCode()Gets the error code. |
java.lang.String |
getMessage()Returns the detail message string associated with the message ID for the current locale. |
java.lang.String |
getMessage(java.util.Locale locale)Returns the detail message string associated with the message ID for the requested locale, if available. |
java.lang.String |
getMessageId()Returns the message ID that was passed in on creation, if any. |
java.lang.String |
toString()In addition, the message ID is included as a separate field from the message itself if those are distinct. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticationException()
public AuthenticationException(AuthenticationErrorCode errorCode)
errorCode - the error code AuthenticationErrorCode object.public AuthenticationException(java.lang.String key)
key - the key
public AuthenticationException(java.lang.String key,
AuthenticationErrorCode errorCode)
key - the keyerrorCode - the error code
public AuthenticationException(java.lang.String key,
java.lang.Throwable t)
Throwable
key - the keyt - the t
public AuthenticationException(java.lang.String key,
AuthenticationErrorCode errorCode,
java.lang.Throwable t)
key - the keyerrorCode - the error codet - the Throwablepublic AuthenticationException(java.lang.Throwable t)
t - the Throwable
public AuthenticationException(AuthenticationErrorCode errorCode,
java.lang.Throwable t)
errorCode - the error codet - the t
public AuthenticationException(java.lang.String messageId,
java.lang.Object[] params)
messageId -params -
public AuthenticationException(java.lang.String messageId,
java.lang.Throwable cause,
java.lang.Object[] params)
messageId -cause -params -| Method Detail |
|---|
public AuthenticationErrorCode getErrorCode()
public java.lang.String getMessageId()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getMessage(java.util.Locale locale)
public java.lang.String toString()
toString in class java.lang.Throwable
|
Oracle Access Manager Extensibility Java API Reference 11g Release 1 (11.1.1.5) E22473-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||