public class RegexSyntaxException extends RuntimeException implements com.oracle.truffle.api.TruffleException
| Constructor and Description |
|---|
RegexSyntaxException(RegexSource source,
String msg) |
RegexSyntaxException(String msg) |
RegexSyntaxException(String pattern,
String msg) |
RegexSyntaxException(String pattern,
String flags,
String msg) |
RegexSyntaxException(String pattern,
String flags,
String msg,
int position) |
RegexSyntaxException(String pattern,
String flags,
String msg,
Throwable ex) |
| Modifier and Type | Method and Description |
|---|---|
com.oracle.truffle.api.nodes.Node |
getLocation() |
Integer |
getPosition() |
String |
getReason() |
RegexSource |
getRegex() |
boolean |
isSyntaxError() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RegexSyntaxException(String msg)
public RegexSyntaxException(RegexSource source, String msg)
public RegexSyntaxException(String pattern, String flags, String msg, int position)
public boolean isSyntaxError()
isSyntaxError in interface com.oracle.truffle.api.TruffleExceptionpublic com.oracle.truffle.api.nodes.Node getLocation()
getLocation in interface com.oracle.truffle.api.TruffleExceptionpublic String getReason()
public RegexSource getRegex()
public Integer getPosition()