Package oracle.iam.exception
Class OIMError
java.lang.Object
oracle.iam.exception.OIMError
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOIMError()
OIMError
(String errorCode, Serializable[] errorData) OIMError
(String errorCode, String errorMessage, Serializable[] errorData) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyErrorInfo
(String errorCode, Serializable[] errorData, String localizedMessage) Get the error code.Get error data that can be used for globalization.Get error message.void
setErrorCode
(String errorCode) void
setErrorData
(Serializable[] errorData) void
setErrorMessage
(String errorMessage)
-
Constructor Details
-
OIMError
-
OIMError
-
OIMError
-
OIMError
public OIMError()
-
-
Method Details
-
setErrorCode
-
getErrorCode
Get the error code.- Returns:
- error code
-
setErrorMessage
-
getErrorMessage
Get error message.- Returns:
- error message.
-
copyErrorInfo
-
setErrorData
-
getErrorData
Get error data that can be used for globalization.- Returns:
- error data as an array.
-
getLocalizedMessage
-