A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.core / src / net / sourceforge / phpdt / internal / debug / core / watch / PHPWatchExpressionResult.java
1 package net.sourceforge.phpdt.internal.debug.core.watch;
2
3 import org.eclipse.debug.core.DebugException;
4 import org.eclipse.debug.core.model.IValue;
5 import org.eclipse.debug.core.model.IWatchExpressionResult;
6
7 public class PHPWatchExpressionResult implements IWatchExpressionResult {
8
9         String text;
10
11         IValue result;
12
13         String[] err;
14
15         public PHPWatchExpressionResult(String t, IValue v, String[] e) {
16                 text = t;
17                 result = v;
18                 err = e;
19         }
20
21         public IValue getValue() {
22                 return result;
23         }
24
25         public boolean hasErrors() {
26                 return err != null;
27         }
28
29         public String[] getErrorMessages() {
30                 return err;
31         }
32
33         public String getExpressionText() {
34                 return text;
35         }
36
37         public DebugException getException() {
38                 return null;
39         }
40
41 }