package org.omg.lsae; public class LSAEException extends Exception { /** Error codes dealing with analysis data */ public static final int UNKNOWN_NAME = 200; public static final int INPUTS_INVALID = 201; public static final int INPUT_NOT_ACCEPTED = 202; /** Error codes dealing with analysis execution */ public static final int NOT_RUNNABLE = 300; public static final int NOT_RUNNING = 301; public static final int NOT_TERMINATED = 302; /** Error codes dealing with analysis metadata */ public static final int NO_METADATA_AVAILABLE = 400; /** Error codes dealing with notification */ public static final int PROTOCOLS_UNACCEPTED = 500; /** General error codes */ public static final int INTERNAL_PROCESSING_ERROR = 600; public static final int COMMUNICATION_ERROR = 601; public static final int UNKNOWN_STATE = 602; public static final int NOT_IMPLEMENTED = 603; protected int errorCode; public LSAEException() { super(); } public LSAEException (int errorCode, String reason) { super (reason); this.errorCode = errorCode; } public int getErrorCode() { return errorCode; } }