com.ibm.wbiserver.brules.mgmt
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.wbiserver.brules.mgmt.BusinessRuleManagementException
com.ibm.wbiserver.brules.mgmt.ValidationException
- All Implemented Interfaces:
- java.io.Serializable
public class ValidationException
- extends BusinessRuleManagementException
This exception is thrown when a validation error is detected when data is being changed. The
contained Problem
objects indicate the specific errors that were detected.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
ValidationException
public ValidationException(java.util.List<Problem> problems)
ValidationException
public ValidationException(java.util.List<Problem> problems,
java.lang.String message)
ValidationException
public ValidationException(java.util.List<Problem> problems,
java.lang.String message,
java.lang.Throwable cause)
ValidationException
public ValidationException(java.util.List<Problem> problems,
java.lang.Throwable cause)
getProblems
public java.util.List<Problem> getProblems()
- Get the specific type of problems detected.
- Returns:
List
of Problem
objects each of which represents one
validation error. The specific subclass of the Problem
object indicates
what the specific error is. See at the Problem
subclasses defined in the
com.ibm.wbiserver.brules.mgmt.problem
package to see what the possible
validation errors are.
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable