Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.identity.shared.locale.L10NMessageImpl
-
- com.sun.identity.shared.validation.ValidationException
-
- All Implemented Interfaces:
L10NMessage,Serializable
public class ValidationException extends L10NMessageImpl
Exception for violating data format.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException(String msg)Creates an instance of Validation Exception.ValidationException(String rbName, String errorCode)Creates an instance of Validation Exception.ValidationException(Throwable t)Creates an instance of Validation Exception.
-
Method Summary
-
Methods inherited from class com.sun.identity.shared.locale.L10NMessageImpl
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ValidationException
public ValidationException(String msg)
Creates an instance of Validation Exception.- Parameters:
msg- message of the exception
-
ValidationException
public ValidationException(String rbName, String errorCode)
Creates an instance of Validation Exception.- Parameters:
rbName- Resource bundle name of the error message.errorCode- Key of the error message in the resource bundle.
-
ValidationException
public ValidationException(Throwable t)
Creates an instance of Validation Exception.- Parameters:
t- Root cause of this exception.
-
-