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 aValidationFailedExceptionwith null as its detail message.ValidationFailedException(String message) Constructs aValidationFailedExceptionwith the specified detail message.ValidationFailedException(String message, String errorCode, String[] errorData) Constructs aValidationFailedExceptionwith the specified message, errorCode and params.ValidationFailedException(String message, String errorCode, String[] errorData, Throwable cause) Constructs aValidationFailedExceptionwith the specified message, errorCode and params.ValidationFailedException(String message, Throwable cause) Constructs aValidationFailedExceptionwith the specified detail message and cause.Constructs aValidationFailedExceptionwith the specified cause. -
Method Summary
Methods inherited from class oracle.iam.platform.utils.SuperException
getLocalizedMessages, getMessages, xprint, xprintMethods inherited from class oracle.iam.exception.OIMServiceException
addError, copyErrorInfo, getErrorCode, getErrorData, getErrorMessage, getErrors, hasMultipleErrors, setErrorCode, setErrorData, setErrorMessage, setErrors, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ValidationFailedException
public ValidationFailedException()Constructs aValidationFailedExceptionwith null as its detail message. -
ValidationFailedException
Constructs aValidationFailedExceptionwith the specified detail message.- Parameters:
message- the detail message
-
ValidationFailedException
Constructs aValidationFailedExceptionwith the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause
-
ValidationFailedException
Constructs aValidationFailedExceptionwith the specified cause.- Parameters:
cause- the cause
-
ValidationFailedException
Constructs aValidationFailedExceptionwith 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 aValidationFailedExceptionwith 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:
getLocalizedMessagein classOIMServiceException
-