1 11 package org.eclipse.core.internal.expressions; 12 13 import org.eclipse.core.runtime.IStatus; 14 import org.eclipse.core.runtime.Status; 15 16 25 public class ExpressionStatus extends Status { 26 27 28 public static final int VARIABLE_IS_NOT_A_COLLECTION= 3; 29 30 31 public static final int VARIABLE_IS_NOT_A_LIST= 4; 32 33 34 public static final int VALUE_IS_NOT_AN_INTEGER= 5; 35 36 37 public static final int MISSING_ATTRIBUTE= 50; 38 39 40 public static final int WRONG_ATTRIBUTE_VALUE= 51; 41 42 43 public static final int MISSING_EXPRESSION = 52; 44 45 46 public static final int VARAIBLE_POOL_WRONG_NUMBER_OF_ARGUMENTS= 100; 47 48 49 public static final int VARAIBLE_POOL_ARGUMENT_IS_NOT_A_STRING= 101; 50 51 52 public static final int TYPE_EXTENDER_PLUGIN_NOT_LOADED= 200; 53 54 55 public static final int TYPE_EXTENDER_UNKOWN_METHOD= 201; 56 57 58 public static final int TYPE_EXTENDER_INCORRECT_TYPE= 202; 59 60 61 public static final int TEST_EXPRESSION_NOT_A_BOOLEAN= 203; 62 63 64 public static final int NO_NAMESPACE_PROVIDED= 300; 65 66 67 public static final int VARIABLE_NOT_DEFINED= 301; 68 69 70 public static final int STRING_NOT_CORRECT_ESCAPED= 302; 71 72 73 public static final int STRING_NOT_TERMINATED= 303; 74 75 81 public ExpressionStatus(int errorCode, String message) { 82 this(errorCode, message, null); 83 } 84 85 92 public ExpressionStatus(int errorCode, String message, Throwable exception) { 93 super(IStatus.ERROR, ExpressionPlugin.getPluginId(), errorCode, message, exception); 94 } 95 } 96 | Popular Tags |