Class RestrictionEvaluationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RestrictionEvaluationException
    extends java.lang.Exception
    An exception thrown when then evaluation of a restriction fails.
    Author:
    Holger Eichelberger
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int id  
      static int ID_INTERNAL  
    • Constructor Summary

      Constructors 
      Constructor Description
      RestrictionEvaluationException​(java.lang.String message, int id)
      Creates a restriction evaluation exception.
      RestrictionEvaluationException​(java.lang.String message, int id, java.lang.Exception cause)
      Creates a restriction evaluation exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getId()
      Returns the identification used for testing.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • RestrictionEvaluationException

        public RestrictionEvaluationException​(java.lang.String message,
                                              int id)
        Creates a restriction evaluation exception.
        Parameters:
        message - the exception message
        id - an identification used for testing
      • RestrictionEvaluationException

        public RestrictionEvaluationException​(java.lang.String message,
                                              int id,
                                              java.lang.Exception cause)
        Creates a restriction evaluation exception.
        Parameters:
        message - the exception message
        id - an identification used for testing
        cause - the causing exception
    • Method Detail

      • getId

        public int getId()
        Returns the identification used for testing.
        Returns:
        the identification