Class FilterParseException

  • All Implemented Interfaces:
    Serializable

    public class FilterParseException
    extends RuntimeException
    This class is used to indicate a failure of the Filter engine to correctly parse a filter expression. If the error was caused by an undeclared exception during processing, that exception is also encapsulated by the exception.
    Author:
    Jason , Weave
    See Also:
    Serialized Form
    • Constructor Detail

      • FilterParseException

        public FilterParseException()
        Constructs a new, empty filter parser exception.
      • FilterParseException

        public FilterParseException​(String msg)
        Constructs a new parse exception with the passed message as its error text.
        Parameters:
        msg - The exception text.
      • FilterParseException

        public FilterParseException​(String msg,
                                    Throwable t)
        Constructs a new parse exception with the passed message as the error text and the throwable as the encapsulated error causing the failure.
        Parameters:
        msg - The exception text.
        t - The cause of the failure.
    • Method Detail

      • printStackTrace

        public void printStackTrace()
        Prints the stack trace of the exception, and the encapsulated exception if any.
        Overrides:
        printStackTrace in class Throwable
      • printStackTrace

        public void printStackTrace​(PrintStream ps)
        Prints the stack trace of the exception, and the encapsulated exception if any.
        Overrides:
        printStackTrace in class Throwable
      • printStackTrace

        public void printStackTrace​(PrintWriter pw)
        Prints the stack trace of the exception, and the encapsulated exception if any.
        Overrides:
        printStackTrace in class Throwable
        Parameters:
        pw - The location to write the exception.