|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoscript.data.Value
oscript.data.OObject
oscript.data.OException
Base class for the script type "Exception". This isn't a java exception,
but instead is wrapped in a PackagedScriptObjectException
.
Field Summary | |
static java.lang.String[] |
MEMBER_NAMES
|
static java.lang.String |
PARENT_TYPE_NAME
|
static Value |
TYPE
The type object for an instance of Exception. |
static java.lang.String |
TYPE_NAME
|
Fields inherited from class oscript.data.OObject |
EMPTY_EXPR_LIST_EVALUATOR |
Fields inherited from class oscript.data.Value |
DEBUG, NULL, UNDEFINED |
Constructor Summary | |
|
OException(MemberTable args)
Class Constructor. |
|
OException(java.lang.String str)
Class Constructor. |
protected |
OException(Value type,
java.lang.String str)
Class Constructor. |
Method Summary | |
java.lang.String |
castToString()
Convert this object to a native java String value. |
protected static java.lang.String |
getArg0(MemberTable args)
|
java.lang.String |
getMessage()
Get the message. |
protected Value |
getTypeImpl()
Get the type of this object. |
void |
preserveStackFrame()
|
java.util.Iterator |
stackFrameIterator()
Return an iteration of stack frames, starting with the most deeply nested stack frame. |
Methods inherited from class oscript.data.OObject |
getMember, populateMemberSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Value TYPE
public static final java.lang.String PARENT_TYPE_NAME
public static final java.lang.String TYPE_NAME
public static final java.lang.String[] MEMBER_NAMES
Constructor Detail |
public OException(java.lang.String str)
protected OException(Value type, java.lang.String str)
public OException(MemberTable args)
BuiltinType
instance.
args
- arguments to this constructor
PackagedScriptObjectException(Exception)
- if wrong number of argsMethod Detail |
public final void preserveStackFrame()
protected Value getTypeImpl()
Value.getType()
.
getTypeImpl
in class OObject
protected static final java.lang.String getArg0(MemberTable args)
public java.lang.String castToString() throws PackagedScriptObjectException
String
value.
castToString
in class OObject
PackagedScriptObjectException(NoSuchMethodException)
PackagedScriptObjectException
public java.lang.String getMessage()
public java.util.Iterator stackFrameIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |