Package ratpack.parse
Class ParserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ratpack.parse.ParseException
-
- ratpack.parse.ParserException
-
- All Implemented Interfaces:
java.io.Serializable
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
Constructors Constructor Description ParserException(Parser<?> parser, java.lang.Throwable cause)
Constructor.
-
-
-
Constructor Detail
-
ParserException
public ParserException(Parser<?> parser, java.lang.Throwable cause)
Constructor.- Parameters:
parser
- the parser that failedcause
- the exception thrown by the parser
-
-