public class UnsupportedRegexException extends RuntimeException implements com.oracle.truffle.api.TruffleException
| Constructor and Description |
|---|
UnsupportedRegexException(String reason) |
UnsupportedRegexException(String reason,
RegexSource regexSrc) |
UnsupportedRegexException(String reason,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
fillInStackTrace()
For performance reasons, this exception does not record any stack trace information.
|
com.oracle.truffle.api.nodes.Node |
getLocation() |
String |
getMessage() |
String |
getReason() |
RegexSource |
getRegex() |
boolean |
isSyntaxError() |
void |
setReason(String reason) |
void |
setRegex(RegexSource regexSrc) |
addSuppressed, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnsupportedRegexException(String reason)
public UnsupportedRegexException(String reason, RegexSource regexSrc)
public RegexSource getRegex()
public void setRegex(RegexSource regexSrc)
public String getReason()
public void setReason(String reason)
public String getMessage()
getMessage in class Throwablepublic final Throwable fillInStackTrace()
fillInStackTrace in class Throwablepublic boolean isSyntaxError()
isSyntaxError in interface com.oracle.truffle.api.TruffleExceptionpublic com.oracle.truffle.api.nodes.Node getLocation()
getLocation in interface com.oracle.truffle.api.TruffleException