1 10 package SOFA.SOFAnode.Util.DFSRChecker; 11 12 15 public class CheckingResult { 16 17 22 public CheckingResult(int type, String description) { 23 this.type = type; 24 this.description = description; 25 } 26 27 30 public String toString() { 31 return description; 32 } 33 34 37 public int type; 38 39 42 public String description; 43 44 public static final int ERR_OK = 0; 45 public static final int ERR_BADACTIVITY = 1; 46 public static final int ERR_NOACTIVITY = 2; 47 public static final int ERR_INFINITEACTIVITY = 3; 48 public static final int ERR_SYNTAXERROR = 4; 49 public static final int ERR_OTHERERROR = 5; 50 51 } 52 | Popular Tags |