Class IdentityProviderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TestConnectionException
If an error occurs User Identity Provider will throw an exception of type IdentityProviderException.
- Since:
- 11gR1
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a default exception.IdentityProviderException<wbr>(Exception ime)Constructs exception along with setting primary error messageIdentityProviderException<wbr>(String messageID)Constructs a new exception with the specified message ID.IdentityProviderException<wbr>(String messageID, Exception ime)Constructs exception along with setting primary error messageIdentityProviderException<wbr>(String messageID, Exception ime, Object[] params)Constructs exception along with setting primary error messageIdentityProviderException<wbr>(String messageID, Exception e, Object[] params, String idStoreName)IdentityProviderException<wbr>(String messageID, Exception ime, String userName, String idstore)IdentityProviderException<wbr>(String messageID, Object[] params)Constructs a new exception with the specified message ID and parameters.IdentityProviderException<wbr>(String messageID, Throwable cause)Constructs a new exception with the specified message ID and cause.IdentityProviderException<wbr>(String messageID, Throwable cause, Object[] params)IdentityProviderException<wbr>(String messageID, Throwable cause, Object[] params, String userName, String idstore, String exceptionClassName)Constructs a new exception with passed message ID, cause, and parameters.IdentityProviderException<wbr>(String messageID, oracle.igf.ids.IDSException ide, Object[] params)IdentityProviderException<wbr>(String messageID, oracle.igf.ids.IDSException idse, String userName, String idstore)Constructs a new exception with the specified cause.IdentityProviderException<wbr>(Throwable cause)Constructs a new exception with the specified cause.IdentityProviderException<wbr>(oracle.igf.ids.IDSException idse)Constructs exception along with setting primary error messageIdentityProviderException<wbr>(IdentityProviderException.ERROR_CODES code, Throwable cause)Constructs a new exception with the specified message ID and cause. -
Method Summary
Modifier and TypeMethodDescriptionvoidextractAndSetNativeErrorCodeForAuthException<wbr>(oracle.igf.ids.IDSException ex, oracle.igf.ids.IDSException.PwdPolicyCode errorCode)voidextractAndSetNativeErrorCodeForIDS<wbr>(oracle.igf.ids.IDSException ex, oracle.igf.ids.IDSException.PwdPolicyCode errorCode)Returns the class name of the ResourceBundle holding messages for this component.Returns the detail message string associated with the message ID for the current locale.getMessage<wbr>(Locale locale)Returns the detail message string associated with the message ID for the requested locale, if available.Returns the message ID that was passed in on creation, if any.voidGetter and Setter for error codesvoidsetPrimaryErrorCode<wbr>(String primaryErrorCode)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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
IdentityProviderException
public IdentityProviderException()Constructs a default exception. -
IdentityProviderException
Constructs a new exception with the specified message ID. -
IdentityProviderException
Constructs a new exception with the specified message ID and parameters. -
IdentityProviderException
Constructs a new exception with the specified message ID and cause. -
IdentityProviderException
Constructs a new exception with the specified message ID and cause. -
IdentityProviderException
Constructs exception along with setting primary error message- Parameters:
messageID-ime-
-
IdentityProviderException
-
IdentityProviderException
-
IdentityProviderException
public IdentityProviderException<wbr>(String messageID, Throwable cause, Object[] params, String userName, String idstore, String exceptionClassName)Constructs a new exception with passed message ID, cause, and parameters. -
IdentityProviderException
Constructs exception along with setting primary error message- Parameters:
messageID-ime-params-
-
IdentityProviderException
-
IdentityProviderException
public IdentityProviderException<wbr>(String messageID, oracle.igf.ids.IDSException idse, String userName, String idstore)Constructs a new exception with the specified cause. -
IdentityProviderException
Constructs a new exception with the specified cause. -
IdentityProviderException
Constructs exception along with setting primary error message- Parameters:
ime-
-
IdentityProviderException
public IdentityProviderException<wbr>(oracle.igf.ids.IDSException idse)Constructs exception along with setting primary error message- Parameters:
idse-
-
IdentityProviderException
-
-
Method Details
-
setErrorcode
Getter and Setter for error codes -
getErrorCode
-
getMessageID
Returns the message ID that was passed in on creation, if any. -
getMessage
Returns the detail message string associated with the message ID for the current locale. If not found, the message ID itself is returned.- Overrides:
getMessagein classThrowable
-
getMessage
Returns the detail message string associated with the message ID for the requested locale, if available. If not found, the message ID itself is returned, or null if unset. -
getBundleName
Returns the class name of the ResourceBundle holding messages for this component. It's required this be overridden by the top-level exception class of other components. -
toString
In addition, the message ID is included as a separate field from the message itself if those are distinct. -
getPrimaryErrorCode
- Returns:
- the primaryErrorCode
-
setPrimaryErrorCode
- Parameters:
primaryErrorCode- the primaryErrorCode to set
-
extractAndSetNativeErrorCodeForAuthException
public void extractAndSetNativeErrorCodeForAuthException<wbr>(oracle.igf.ids.IDSException ex, oracle.igf.ids.IDSException.PwdPolicyCode errorCode) -
extractAndSetNativeErrorCodeForIDS
public void extractAndSetNativeErrorCodeForIDS<wbr>(oracle.igf.ids.IDSException ex, oracle.igf.ids.IDSException.PwdPolicyCode errorCode)
-