public class JsParserException extends Exception
Modifier and Type | Class and Description |
---|---|
static class |
JsParserException.SourceDetail
Represents the location of a parser exception.
|
Constructor and Description |
---|
JsParserException(String msg) |
JsParserException(String msg,
int line,
String lineSource,
int lineOffset,
String fileName) |
JsParserException(String msg,
JsParserException.SourceDetail sourceDetail) |
Modifier and Type | Method and Description |
---|---|
JsParserException.SourceDetail |
getSourceDetail()
Provides additional source detail in some cases.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
public JsParserException(String msg)
public JsParserException(String msg, int line, String lineSource, int lineOffset, String fileName)
public JsParserException(String msg, JsParserException.SourceDetail sourceDetail)
public JsParserException.SourceDetail getSourceDetail()
null
if no
additional detail is availableCopyright © 2018. All rights reserved.