com.ibm.wbiserver.brules.mgmt

Class ValidationException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.wbiserver.brules.mgmt.BusinessRuleManagementException
  5. extended bycom.ibm.wbiserver.brules.mgmt.ValidationException
All implemented interfaces:
java.io.Serializable

  1. public class ValidationException
  2. 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

Modifier and Type Field and Description
  1. static
  2. java.lang.String
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
  1. java.lang.String
getMessage()
  1. 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

  1. public static final java.lang.String COPYRIGHT
See Also:

Constructor Detail

ValidationException

  1. public ValidationException(java.util.List<Problem> problems)

ValidationException

  1. public ValidationException(java.util.List<Problem> problems,
  2. java.lang.String message)

ValidationException

  1. public ValidationException(java.util.List<Problem> problems,
  2. java.lang.String message,
  3. java.lang.Throwable cause)

ValidationException

  1. public ValidationException(java.util.List<Problem> problems,
  2. java.lang.Throwable cause)

Method Detail

getProblems

  1. 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

  1. public java.lang.String getMessage( )
Overrides:
getMessage in class java.lang.Throwable