Class TruffleString.NumberFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.oracle.truffle.api.strings.TruffleString.NumberFormatException
- All Implemented Interfaces:
Serializable
- Enclosing class:
TruffleString
This exception may be thrown by
TruffleString.ParseIntNode, TruffleString.ParseLongNode or
TruffleString.ParseDoubleNode to indicate that the given string cannot be parsed as an integer,
long or double value. This exception does not record stack traces for performance reasons.- Since:
- 22.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionNo stack trace for this exception.Returns a detailed error message.Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getMessage
Returns a detailed error message. Not designed to be used on fast paths.- Overrides:
getMessagein classThrowable- Since:
- 22.3
-
fillInStackTrace
No stack trace for this exception.- Overrides:
fillInStackTracein classThrowable- Since:
- 22.1
-