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
Problem
objects indicate the specific errors that were detected.
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Constructor Summary
Constructor and Description |
---|
ValidationException(java.util.List<Problem> problems)
|
ValidationException(java.util.List<Problem> problems,java.lang.String message)
|
ValidationException(java.util.List<Problem> problems,java.lang.String message,java.lang.Throwable cause)
|
ValidationException(java.util.List<Problem> problems,java.lang.Throwable cause)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getMessage()
|
|
getProblems()
Get the specific type of problems detected.
|
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 |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
Constructor Detail
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)
Method Detail
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