Package edu.mit.eecs.parserlib
Class UnableToParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.mit.eecs.parserlib.UnableToParseException
- All Implemented Interfaces:
Serializable
public class UnableToParseException extends Exception
Exception thrown when a sequence of characters doesn't match a grammar
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description UnableToParseException(String message)
Make a parser exception with an error message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnableToParseException
Make a parser exception with an error message.- Parameters:
message
- error message for user
-