Class 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 Detail

      • 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
      • stackTraceLimit

        private int stackTraceLimit
      • prepareStackTrace

        private Function prepareStackTrace
    • Constructor Detail

      • ProtoProps

        private ProtoProps()
    • 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)