com.aptana.ide.debug.internal.core.model
Class JSDebugElement

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.debug.core.model.DebugElement
          extended by com.aptana.ide.debug.internal.core.model.JSDebugElement
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement
Direct Known Subclasses:
JSDebugScriptElement, JSDebugStackFrame, JSDebugTarget, JSDebugThread, JSDebugValue, JSDebugVariable

public abstract class JSDebugElement
extends org.eclipse.debug.core.model.DebugElement

Author:
Max Stepanov

Constructor Summary
JSDebugElement(org.eclipse.debug.core.model.IDebugTarget target)
          Constructs a debug element referring to an artifact in the given debug target.
 
Method Summary
 java.lang.String getModelIdentifier()
           
protected  void throwDebugException(java.lang.Exception exception)
          throwDebugException
protected  void throwDebugException(int code, java.lang.String message, java.lang.Exception exception)
          throwDebugException
protected  void throwDebugException(java.lang.String message)
          Throws a debug exception with the given message, error code, and underlying exception.
protected  void throwNotImplemented()
          throwNotImplemented XXX: remove me later
 
Methods inherited from class org.eclipse.debug.core.model.DebugElement
fireChangeEvent, fireCreationEvent, fireEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter, getDebugTarget, getLaunch, notSupported, requestFailed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSDebugElement

public JSDebugElement(org.eclipse.debug.core.model.IDebugTarget target)
Constructs a debug element referring to an artifact in the given debug target.

Parameters:
target - debug target containing this element
Method Detail

getModelIdentifier

public java.lang.String getModelIdentifier()
See Also:
IDebugElement.getModelIdentifier()

throwDebugException

protected void throwDebugException(java.lang.String message)
                            throws org.eclipse.debug.core.DebugException
Throws a debug exception with the given message, error code, and underlying exception.

Parameters:
message -
Throws:
org.eclipse.debug.core.DebugException

throwDebugException

protected void throwDebugException(int code,
                                   java.lang.String message,
                                   java.lang.Exception exception)
                            throws org.eclipse.debug.core.DebugException
throwDebugException

Parameters:
code -
message -
exception -
Throws:
org.eclipse.debug.core.DebugException

throwDebugException

protected void throwDebugException(java.lang.Exception exception)
                            throws org.eclipse.debug.core.DebugException
throwDebugException

Parameters:
exception -
Throws:
org.eclipse.debug.core.DebugException

throwNotImplemented

protected void throwNotImplemented()
                            throws org.eclipse.debug.core.DebugException
throwNotImplemented XXX: remove me later

Throws:
org.eclipse.debug.core.DebugException