com.aptana.ide.editor.js.runtime
Class JSError

java.lang.Object
  extended by com.aptana.ide.editor.js.runtime.ObjectBase
      extended by com.aptana.ide.editor.js.runtime.JSError
All Implemented Interfaces:
IObject, IRange, IDocumentationContainer

public class JSError
extends ObjectBase

Author:
Robin Debreuil, Kevin Lindsey

Field Summary
 
Fields inherited from class com.aptana.ide.editor.js.runtime.ObjectBase
NULL, UNDEFINED
 
Constructor Summary
JSError()
          Create a new instance of JSError
JSError(IRange sourceRegion)
          Create a new instance of JSError
 
Method Summary
 java.lang.String getClassName()
          Returns the class name of this object.
 
Methods inherited from class com.aptana.ide.editor.js.runtime.ObjectBase
canPut, containsOffset, deletePropertyName, getDocumentation, getEndingOffset, getInstance, getLength, getLocalProperty, getLocalPropertyCount, getLocalPropertyNames, getProperty, getPropertyNames, getPropertyNames, getPropertyValue, getPrototype, getRange, getStartingOffset, hasDocumentation, hasLocalProperty, hasProperty, isEmpty, putLocalProperty, putPropertyValue, putPropertyValue, setDocumentation, setPrototype, unputPropertyName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSError

public JSError()
Create a new instance of JSError


JSError

public JSError(IRange sourceRegion)
Create a new instance of JSError

Parameters:
sourceRegion - The region within the source that defines this object instance
Method Detail

getClassName

public java.lang.String getClassName()
Description copied from interface: IObject
Returns the class name of this object. This implements [[Class]] from the ECMA specification

Specified by:
getClassName in interface IObject
Specified by:
getClassName in class ObjectBase
Returns:
This object's class name
See Also:
ObjectBase.getClassName()