com.caucho.quercus.lib
Class ExceptionClass

java.lang.Object
  extended by com.caucho.quercus.lib.ExceptionClass

public class ExceptionClass
extends java.lang.Object

Exception object facade.


Constructor Summary
ExceptionClass()
           
 
Method Summary
static Value __construct(Env env, ObjectValue value, StringValue message, int code)
          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 getTrace(Env env, Value obj)
          Returns the trace.
static Value getTraceAsString(Env env, Value obj)
          Returns the trace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionClass

public ExceptionClass()
Method Detail

__construct

public static Value __construct(Env env,
                                ObjectValue value,
                                StringValue message,
                                int code)
Create a new exception API object.


__toString

public static Value __toString(Env env,
                               ObjectValue value)
Returns a String representation of this Exception.


getMessage

public static Value getMessage(Env env,
                               ObjectValue obj)
Returns the message.


getCode

public static Value getCode(Env env,
                            ObjectValue obj)
Returns the code.


getFile

public static Value getFile(Env env,
                            ObjectValue obj)
Returns the file.


getLine

public static Value getLine(Env env,
                            ObjectValue obj)
Returns the line.


getTrace

public static Value getTrace(Env env,
                             Value obj)
Returns the trace.


getJavaException

public static Value getJavaException(Env env,
                                     Value obj)
Returns the trace.


getTraceAsString

public static Value getTraceAsString(Env env,
                                     Value obj)
Returns the trace.