Class JSError

  • All Implemented Interfaces:
    JSObjectFunctions

    public abstract class JSError
    extends java.lang.Object
    implements JSObjectFunctions
    Object Error
    Since:
    Standard ECMA-262 3rd. Edition
    • Field Detail

      • prototype

        public JSError prototype
        Property prototype
        Since:
        Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
        See Also:
        Error
      • constructor

        protected JSFunction constructor
        property constructor
        Since:
        Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
        See Also:
        Function
      • name

        protected JSString name
        property name
        Since:
        Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
        See Also:
        String
      • message

        protected JSString message
        property message
        Since:
        Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
        See Also:
        String
    • Constructor Detail

      • JSError

        public JSError()
        Object Error()
        Since:
        Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.
      • JSError

        public JSError​(JSString message)
        Object Error(message)
        Parameters:
        message - An optional error message that provides details about the exception
        Since:
        Standard ECMA-262 3rd. Edition, Level 2 Document Object Model Core Definition.