Package org.mozilla.javascript
Class NativeError.ProtoProps
- java.lang.Object
-
- org.mozilla.javascript.NativeError.ProtoProps
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- NativeError
private static final class NativeError.ProtoProps extends java.lang.Object implements java.io.Serializable
We will attch this object to the constructor and use it solely to store the constructor properties that are "global." We can't make them static because there can be many contexts in the same JVM.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.reflect.Method
GET_PREPARE_STACK
(package private) static java.lang.reflect.Method
GET_STACK_LIMIT
(package private) static java.lang.String
KEY
private Function
prepareStackTrace
private static long
serialVersionUID
(package private) static java.lang.reflect.Method
SET_PREPARE_STACK
(package private) static java.lang.reflect.Method
SET_STACK_LIMIT
private int
stackTraceLimit
-
Constructor Summary
Constructors Modifier Constructor Description private
ProtoProps()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function
getPrepareStackTrace()
java.lang.Object
getPrepareStackTrace(Scriptable thisObj)
int
getStackTraceLimit()
java.lang.Object
getStackTraceLimit(Scriptable thisObj)
void
setPrepareStackTrace(Scriptable thisObj, java.lang.Object value)
void
setStackTraceLimit(Scriptable thisObj, java.lang.Object value)
-
-
-
Field Detail
-
KEY
static final java.lang.String KEY
- See Also:
- Constant Field Values
-
GET_STACK_LIMIT
static final java.lang.reflect.Method GET_STACK_LIMIT
-
SET_STACK_LIMIT
static final java.lang.reflect.Method SET_STACK_LIMIT
-
GET_PREPARE_STACK
static final java.lang.reflect.Method GET_PREPARE_STACK
-
SET_PREPARE_STACK
static final java.lang.reflect.Method SET_PREPARE_STACK
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
stackTraceLimit
private int stackTraceLimit
-
prepareStackTrace
private Function prepareStackTrace
-
-
Method Detail
-
getStackTraceLimit
public java.lang.Object getStackTraceLimit(Scriptable thisObj)
-
getStackTraceLimit
public int getStackTraceLimit()
-
setStackTraceLimit
public void setStackTraceLimit(Scriptable thisObj, java.lang.Object value)
-
getPrepareStackTrace
public java.lang.Object getPrepareStackTrace(Scriptable thisObj)
-
getPrepareStackTrace
public Function getPrepareStackTrace()
-
setPrepareStackTrace
public void setPrepareStackTrace(Scriptable thisObj, java.lang.Object value)
-
-