Package com.iplanet.ums.validation
Class DataConstraintException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.iplanet.ums.UMSException
-
- com.iplanet.ums.validation.DataConstraintException
-
- All Implemented Interfaces:
Serializable
public class DataConstraintException extends UMSException
Exception thrown if data validation fails. The validating data passed to validating functions is checked against optional rules and validating rules specific to the validator classes and this exception is thrown when it doesnot satify those rules.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.iplanet.ums.UMSException
rootCause, xcptMessage
-
-
Constructor Summary
Constructors Constructor Description DataConstraintException()Constructor to constuct the exception without any messageDataConstraintException(String msg)Constructor to construct the exception with a messageDataConstraintException(String msg, Throwable rootCause)Constructs the exception with a message and an embedded exception
-
Method Summary
-
Methods inherited from class com.iplanet.ums.UMSException
getMessage, getRootCause, log, log, printStackTrace, printStackTrace, printStackTrace, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
-
-
-
Constructor Detail
-
DataConstraintException
public DataConstraintException()
Constructor to constuct the exception without any message
-
DataConstraintException
public DataConstraintException(String msg)
Constructor to construct the exception with a message- Parameters:
msg- message describing the cause of the exception
-
-