Package oracle.iam.selfservice.exception
Class ValidationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.iam.exception.OIMServiceException
oracle.iam.platform.utils.SuperException
oracle.iam.selfservice.exception.AuthSelfServiceException
oracle.iam.selfservice.exception.ValidationFailedException
- All Implemented Interfaces:
Serializable
,oracle.iam.platform.utils.io.XmlPrintable
Thrown if the data validation fails while performing the operation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aValidationFailedException
with null as its detail message.ValidationFailedException
(String message) Constructs aValidationFailedException
with the specified detail message.ValidationFailedException
(String message, String errorCode, String[] errorData) Constructs aValidationFailedException
with the specified message, errorCode and params.ValidationFailedException
(String message, String errorCode, String[] errorData, Throwable cause) Constructs aValidationFailedException
with the specified message, errorCode and params.ValidationFailedException
(String message, Throwable cause) Constructs aValidationFailedException
with the specified detail message and cause.Constructs aValidationFailedException
with the specified cause. -
Method Summary
Methods inherited from class oracle.iam.platform.utils.SuperException
getLocalizedMessages, getMessages, xprint, xprint
Methods inherited from class oracle.iam.exception.OIMServiceException
addError, copyErrorInfo, getErrorCode, getErrorData, getErrorMessage, getErrors, hasMultipleErrors, setErrorCode, setErrorData, setErrorMessage, setErrors, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ValidationFailedException
public ValidationFailedException()Constructs aValidationFailedException
with null as its detail message. -
ValidationFailedException
Constructs aValidationFailedException
with the specified detail message.- Parameters:
message
- the detail message
-
ValidationFailedException
Constructs aValidationFailedException
with the specified detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
ValidationFailedException
Constructs aValidationFailedException
with the specified cause.- Parameters:
cause
- the cause
-
ValidationFailedException
Constructs aValidationFailedException
with the specified message, errorCode and params.- Parameters:
message
- the detail messageerrorCode
- the eror code for the messageerrorData
- the parameters to fill in the error message.
-
ValidationFailedException
public ValidationFailedException(String message, String errorCode, String[] errorData, Throwable cause) Constructs aValidationFailedException
with the specified message, errorCode and params.- Parameters:
message
- the detail messageerrorCode
- the eror code for the messageerrorData
- the parameters to fill in the error message.cause
- the cause
-
-
Method Details
-
getLocalizedMessage
- Overrides:
getLocalizedMessage
in classOIMServiceException
-