[Batchserver-cvs] batchserver/src/org/jmonks/batchserver/framework/common ErrorCode.java,1.3,1.4
Brought to you by:
suresh_pragada
From: Suresh <sur...@us...> - 2006-03-07 03:42:46
|
Update of /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19383 Modified Files: ErrorCode.java Log Message: no message Index: ErrorCode.java =================================================================== RCS file: /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/common/ErrorCode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ErrorCode.java 6 Mar 2006 04:36:30 -0000 1.3 --- ErrorCode.java 7 Mar 2006 03:42:43 -0000 1.4 *************** *** 81,99 **** * Framework Configuration Error Codes. */ ! public final static ErrorCode JOBNAME_KEY_NOT_FOUND = new ErrorCode(1001,"job-name key not found in the startup properties"); ! public final static ErrorCode FRAMEWORK_CONFIG_FILE_NOT_FOUND = new ErrorCode(1002,"framework configuration file framework-config.xml is not found in the classpath"); ! public final static ErrorCode NONE_OR_MULITPLE_JOB_CONFIG_FACTORY_CONFIG_TAGS = new ErrorCode(1003,"None or multiple job-config-factory-config tag(s) in framework configuration"); ! public final static ErrorCode NONE_OR_MULITPLE_LOGGING_CONFIG_TAGS = new ErrorCode(1004,"None or multiple logging-config tag(s) in framework configuration"); ! public final static ErrorCode NONE_OR_MULITPLE_MGMT_MNTR_CONFIG_TAGS = new ErrorCode(1005,"None or multiple mgmt-mntr-config tag(s) in framework configuration"); ! public final static ErrorCode NONE_OR_MULITPLE_REPOSITORY_CONFIG_TAGS = new ErrorCode(1006,"None or multiple repository-config tag(s) in framework configuration"); public static final ErrorCode JOB_CONFIG_FACTORY_CLASS_NAME_ATTRIB_NOT_FOUND = new ErrorCode(1007,"Attribute job-config-factory-class-name not found in job-config-factory-config element"); /** * Job Configuration Error Codes. */ ! public final static ErrorCode JOB_NOT_CONFIGURED = new ErrorCode(2001,"job is not configured in the job configuration source"); ! public final static ErrorCode INVALID_JOB_CONFIG_FACTORY = new ErrorCode(2002,"not a valid configuration factory"); ! public final static ErrorCode MISSING_PROPS_XML_CONFIG_FACTORY = new ErrorCode(2003,"required properties are missing in xml config factory configuration"); ! public final static ErrorCode UNABLE_TO_LOAD_XML_JOB_CONFIG_FILE = new ErrorCode(2004,"configured xml job configuration file cannot be loaded"); ! public final static ErrorCode INVALID_JOB_CONFIG_FILE_FORMAT = new ErrorCode(2005,"xml job configuration file is not in a valid format"); } --- 81,104 ---- * Framework Configuration Error Codes. */ ! public static final ErrorCode JOBNAME_KEY_NOT_FOUND = new ErrorCode(1001,"job-name key not found in the startup properties"); ! public static final ErrorCode FRAMEWORK_CONFIG_FILE_NOT_FOUND = new ErrorCode(1002,"framework configuration file framework-config.xml is not found in the classpath"); ! public static final ErrorCode NONE_OR_MULITPLE_JOB_CONFIG_FACTORY_CONFIG_TAGS = new ErrorCode(1003,"None or multiple job-config-factory-config tag(s) in framework configuration"); ! public static final ErrorCode NONE_OR_MULITPLE_LOGGING_CONFIG_TAGS = new ErrorCode(1004,"None or multiple logging-config tag(s) in framework configuration"); ! public static final ErrorCode NONE_OR_MULITPLE_MGMT_MNTR_CONFIG_TAGS = new ErrorCode(1005,"None or multiple mgmt-mntr-config tag(s) in framework configuration"); ! public static final ErrorCode NONE_OR_MULITPLE_REPOSITORY_CONFIG_TAGS = new ErrorCode(1006,"None or multiple repository-config tag(s) in framework configuration"); public static final ErrorCode JOB_CONFIG_FACTORY_CLASS_NAME_ATTRIB_NOT_FOUND = new ErrorCode(1007,"Attribute job-config-factory-class-name not found in job-config-factory-config element"); + public static final ErrorCode LOGGING_DIRECTORY_NOT_DEFINED = new ErrorCode(1008,"Logging directory is not defined in the logging-config"); + public static final ErrorCode MGMT_MNTR_CLASS_NAME_ATTRIB_NOT_FOUND = new ErrorCode(1009,"Attribute mgmt-mntr-class-name not found in mgmt-mntr-config element"); + public static final ErrorCode REPOSITORY_CLASS_NAME_ATTRIB_NOT_FOUND = new ErrorCode(1010,"Attribute repository-class-name not found in repository-config element"); + /** * Job Configuration Error Codes. */ ! public static final ErrorCode JOB_NOT_CONFIGURED = new ErrorCode(2001,"job is not configured in the job configuration source"); ! public static final ErrorCode JOB_CONFIG_FACTORY_CLASS_NOT_VALID = new ErrorCode(2002,"defined configuration factory class is not valid"); ! public static final ErrorCode JOB_CONFIG_FACTORY_CLASS_NOT_FOUND = new ErrorCode(2003,"defined configuration factory class could not be found"); ! public static final ErrorCode MISSING_PROPS_XML_CONFIG_FACTORY = new ErrorCode(2003,"required properties are missing in xml config factory configuration"); ! public static final ErrorCode UNABLE_TO_LOAD_XML_JOB_CONFIG_FILE = new ErrorCode(2004,"configured xml job configuration file cannot be loaded"); ! public static final ErrorCode INVALID_JOB_CONFIG_FILE_FORMAT = new ErrorCode(2005,"xml job configuration file is not in a valid format"); } |