• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Copyright (C) 2003 Vladimir Roubtsov. All rights reserved.
2  *
3  * This program and the accompanying materials are made available under
4  * the terms of the Common Public License v1.0 which accompanies this distribution,
5  * and is available at http://www.eclipse.org/legal/cpl-v10.html
6  *
7  * $Id: IAppErrorCodes.java,v 1.1.1.1 2004/05/09 16:57:29 vlad_r Exp $
8  */
9 package com.vladium.emma;
10 
11 // ----------------------------------------------------------------------------
12 /**
13  * @author Vlad Roubtsov, (C) 2003
14  */
15 public
16 interface IAppErrorCodes
17 {
18     // public: ................................................................
19 
20     /** {throwable.toString(), bug report link} */
21     String UNEXPECTED_FAILURE       = "UNEXPECTED_FAILURE";
22 
23     /** {parameter name, value} */
24     String INVALID_PARAMETER_VALUE  = "INVALID_PARAMETER_VALUE";
25 
26     /** {value} */
27     String INVALID_COLUMN_NAME      = "INVALID_COLUMN_NAME";
28 
29     /** {parameter name} */
30     String REQUIRED_PARAMETER_MISSING = "REQUIRED_PARAMETER_MISSING";
31 
32     /** {app name} */
33     String SECURITY_RESTRICTION                 = "SECURITY_RESTRICTION:";
34 
35     /** {app name, appclassname, app classloader name} */
36     String MAIN_CLASS_BAD_DELEGATION            = "MAIN_CLASS_BAD_DELEGATION";
37 
38     /** {classname} */
39     String MAIN_CLASS_NOT_FOUND                 = "MAIN_CLASS_NOT_FOUND";
40 
41     /** {classname, throwable.toString()} */
42     String MAIN_CLASS_LOAD_FAILURE              = "MAIN_CLASS_LOAD_FAILURE";
43 
44     /** {classname} */
45     String MAIN_METHOD_NOT_FOUND                = "MAIN_METHOD_NOT_FOUND";
46 
47     /** {classname, throwable.toString()} */
48     String MAIN_METHOD_FAILURE                  = "MAIN_METHOD_FAILURE";
49 
50     //TODO: /** ?? */
51     String REPORT_GEN_FAILURE                   = "REPORT_GEN_FAILURE";
52 
53     /** [none] */
54     String REPORT_IO_FAILURE                    = "REPORT_IO_FAILURE";
55 
56     /** {classname} */
57     String CLASS_STAMP_MISMATCH                 = "CLASS_STAMP_MISMATCH";
58 
59     /** {dir} */
60     String OUT_MKDIR_FAILURE                    = "OUT_MKDIR_FAILURE";
61 
62     /** [none] */
63     String INSTR_IO_FAILURE                     = "INSTR_IO_FAILURE";
64 
65     /** {filename} */
66     String OUT_IO_FAILURE                       = "OUT_IO_FAILURE";
67 
68     /** [none] */
69     String ARGS_IO_FAILURE                      = "ARGS_IO_FAILURE";
70 
71 } // end of interface
72 // ----------------------------------------------------------------------------