Package ratpack.parse

Class ParserException

  • All Implemented Interfaces:

    public class ParserException
    extends ParseException
    Wraps an exception thrown by a parser while parsing.

    The cause of this exception is always the exception thrown by the parser.

    See Also:
    Context.parse(Parse), Serialized Form
    • Constructor Summary

      Constructor Description
      ParserException​(Parser<?> parser, java.lang.Throwable cause)
    • Method Summary

      • 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

      • ParserException

        public ParserException​(Parser<?> parser,
                               java.lang.Throwable cause)
        parser - the parser that failed
        cause - the exception thrown by the parser