X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugAbstractValue.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugAbstractValue.java index 6f10fb3..6e69d0b 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugAbstractValue.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugAbstractValue.java @@ -25,11 +25,11 @@ import org.w3c.dom.NodeList; public abstract class XDebugAbstractValue extends XDebugElement implements IValue { private IVariable[] fVariables; protected String fValueString; - protected String fTypeName; + private String fTypeName; private boolean fhasChanged; - public XDebugAbstractValue(XDebugStackFrame frame, Node varNode) { - super((XDebugTarget) frame.getDebugTarget()); + public XDebugAbstractValue(XDebugStackFrame frame, Node varNode) throws DebugException { + super(frame == null ? null : (XDebugTarget) frame.getDebugTarget()); fTypeName = PHPDebugUtils.getAttributeValue(varNode,"type"); @@ -109,11 +109,11 @@ public abstract class XDebugAbstractValue extends XDebugElement implements IVal return (fVariables.length > 0); } - public abstract void renderValueString(String data); + public abstract void renderValueString(String data) throws DebugException; public abstract boolean verifyValue(String expression); - public boolean setValue(String expression) { + public boolean setValue(String expression) throws DebugException { if (!verifyValue(expression)) { return false; }