Java javax.script ScriptException fields, constructors, methods, implement or subclass

Example usage for Java javax.script ScriptException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.script ScriptException.

The text is from its open source code.

Constructor

ScriptException(String s)
Creates a ScriptException with a String to be used in its message.
ScriptException(Exception e)
Creates a ScriptException wrapping an Exception thrown by an underlying interpreter.
ScriptException(String message, String fileName, int lineNumber, int columnNumber)
ScriptException constructor specifying message, filename, line number and column number.
ScriptException(String message, String fileName, int lineNumber)
Creates a ScriptException with message, filename and linenumber to be used in error messages.

Method

ThrowablegetCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
intgetColumnNumber()
Get the column number on which an error occurred.
intgetLineNumber()
Get the line number on which an error occurred.
StringgetLocalizedMessage()
Creates a localized description of this throwable.
StringgetMessage()
Returns a message containing the String passed to a constructor as well as line and column numbers and filename if any of these are known.
ThrowableinitCause(Throwable cause)
Initializes the cause of this throwable to the specified value.
voidprintStackTrace()
Prints this throwable and its backtrace to the standard error stream.
voidprintStackTrace(PrintStream s)
Prints this throwable and its backtrace to the specified print stream.
StringtoString()
Returns a short description of this throwable.