	public String getValueString() throws DebugException {
		if (!isAllocated()) {
			return JDIDebugModelMessages.getString("JDIValue.deallocated"); 
		}
		if (fValue == null) {
			return JDIDebugModelMessages.getString("JDIValue.null_4"); 
		}
		if (fValue instanceof StringReference) {
			try {
				return ((StringReference) fValue).value();
			} catch (RuntimeException e) {
				targetRequestFailed(MessageFormat.format(JDIDebugModelMessages.getString("JDIValue.exception_retrieving_value"), new String[] {e.toString()}), e); 
				return null;
			}
		}
		if (fValue instanceof ObjectReference) {
			StringBuffer name= new StringBuffer();
			if (fValue instanceof ClassObjectReference) {
				name.append('(');  
				name.append(((ClassObjectReference)fValue).reflectedType());
				name.append(')');  
			}
			name.append(" ("); 
			name.append(JDIDebugModelMessages.getString("JDIValue.id_8")); 
			name.append('=');  
			try {
				name.append(((ObjectReference)fValue).uniqueID());
			} catch (RuntimeException e) {
				targetRequestFailed(MessageFormat.format(JDIDebugModelMessages.getString("JDIValue.exception_retrieving_unique_id"), new String[] {e.toString()}), e); 
				return null;
			}
			name.append(')'); 
			return name.toString();
		} else {
			return fValue.toString();
		}
	}

	public String getValueString() throws DebugException {
		if (!isAllocated()) {
			return JDIDebugModelMessages.getString("JDIValue.deallocated"); 
		}
		if (fValue == null) {
			return JDIDebugModelMessages.getString("JDIValue.null_4"); 
		}
		if (fValue instanceof StringReference) {
			try {
				return ((StringReference) fValue).value();
			} catch (RuntimeException e) {
				targetRequestFailed(MessageFormat.format(JDIDebugModelMessages.getString("JDIValue.exception_retrieving_value"), new String[] {e.toString()}), e); 
				return null;
			}
		}
		if (fValue instanceof ObjectReference) {
			StringBuffer name= new StringBuffer();
			if (fValue instanceof ClassObjectReference) {
				name.append('(');  
				name.append(((ClassObjectReference)fValue).reflectedType());
				name.append(')');  
			}
			name.append(" ("); 
			name.append(JDIDebugModelMessages.getString("JDIValue.id_8")); 
			name.append('=');  
			try {
				name.append(((ObjectReference)fValue).uniqueID());
			} catch (RuntimeException e) {
				targetRequestFailed(MessageFormat.format(JDIDebugModelMessages.getString("JDIValue.exception_retrieving_unique_id"), new String[] {e.toString()}), e); 
				return null;
			}
			name.append(')'); 
			return name.toString();
		} else {
			return String.valueOf(fValue);
		}
	}
