public class ExceptionClass
extends java.lang.Object
Constructor and Description |
---|
ExceptionClass() |
Modifier and Type | Method and Description |
---|---|
static Value |
__construct(Env env,
ObjectValue value,
StringValue message,
int code,
Value previous)
Create a new exception API object.
|
static Value |
__toString(Env env,
ObjectValue value)
Returns a String representation of this Exception.
|
static Value |
getCode(Env env,
ObjectValue obj)
Returns the code.
|
static Value |
getFile(Env env,
ObjectValue obj)
Returns the file.
|
static Value |
getJavaException(Env env,
Value obj)
Returns the trace.
|
static Value |
getLine(Env env,
ObjectValue obj)
Returns the line.
|
static Value |
getMessage(Env env,
ObjectValue obj)
Returns the message.
|
static Value |
getPrevious(Env env,
Value obj)
Returns the previous exception.
|
static Value |
getTrace(Env env,
Value obj)
Returns the trace.
|
static Value |
getTraceAsString(Env env,
Value obj)
Returns the trace.
|
public static Value __construct(Env env, ObjectValue value, StringValue message, int code, Value previous)
public static Value __toString(Env env, ObjectValue value)
public static Value getMessage(Env env, ObjectValue obj)
public static Value getCode(Env env, ObjectValue obj)
public static Value getFile(Env env, ObjectValue obj)
public static Value getLine(Env env, ObjectValue obj)