- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- swim.codec.ParserException
-
- All Implemented Interfaces:
Serializable
public class ParserException extends RuntimeException
Thrown when aParser
parses invdalid syntax.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParserException()
ParserException(String message)
ParserException(String message, Throwable cause)
ParserException(Throwable cause)
ParserException(Diagnostic diagnostic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Diagnostic
getDiagnostic()
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ParserException
public ParserException(Diagnostic diagnostic)
-
ParserException
public ParserException(String message)
-
ParserException
public ParserException(Throwable cause)
-
ParserException
public ParserException()
-
-
Method Detail
-
getDiagnostic
public Diagnostic getDiagnostic()
-
-