IBM WebSphere Application ServerTM
Release 8

com.ibm.wbiserver.brules.mgmt
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.wbiserver.brules.mgmt.BusinessRuleManagementException
              extended by 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
           
 
Constructor Summary
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
 java.lang.String getMessage()
           
 java.util.List<Problem> 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:
Constant Field Values
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

IBM WebSphere Application ServerTM
Release 8