com.ibm.wbiserver.brules.mgmt

Class 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

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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
    • 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 Business Process ManagerTM
Release 8