ice.util
Class ICEException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
ice.util.ICEException
- All Implemented Interfaces:
- Serializable
- public class ICEException
- extends IOException
The ICE Exception class
An Exception that is thrown when somethings goes wrong in
the ICEBrowser. When a problem is raised by the ICEBrowser,
this exception is thrown so the surrounding application
can act accordingly. To give the application information
about what caused of the problem, the class is annotated with
information about which module the problem occured in, in
what phase that moudule where in, and what caused the problem.
- See Also:
- Serialized Form
|
Constructor Summary |
ICEException(int module,
int phase,
int problem)
|
MOD_UNKNOWN
public static final int MOD_UNKNOWN
- See Also:
- Constant Field Values
MOD_BROWSER
public static final int MOD_BROWSER
- See Also:
- Constant Field Values
MOD_HTTP
public static final int MOD_HTTP
- See Also:
- Constant Field Values
MOD_ICESECURE
public static final int MOD_ICESECURE
- See Also:
- Constant Field Values
MOD_EMAIL
public static final int MOD_EMAIL
- See Also:
- Constant Field Values
MOD_PIM
public static final int MOD_PIM
- See Also:
- Constant Field Values
PHASE_UNKNOWN
public static final int PHASE_UNKNOWN
- See Also:
- Constant Field Values
PHASE_INIT
public static final int PHASE_INIT
- See Also:
- Constant Field Values
PHASE_CONNECT
public static final int PHASE_CONNECT
- See Also:
- Constant Field Values
PHASE_LOAD
public static final int PHASE_LOAD
- See Also:
- Constant Field Values
PHASE_RENDER
public static final int PHASE_RENDER
- See Also:
- Constant Field Values
PHASE_AUTENTICATION
public static final int PHASE_AUTENTICATION
- See Also:
- Constant Field Values
PHASE_COMPLETED
public static final int PHASE_COMPLETED
- See Also:
- Constant Field Values
PROBLEM_UNKNOWN
public static final int PROBLEM_UNKNOWN
- See Also:
- Constant Field Values
PROBLEM_UNHANDLED_EXCEPTION
public static final int PROBLEM_UNHANDLED_EXCEPTION
- See Also:
- Constant Field Values
PROBLEM_MEMORY
public static final int PROBLEM_MEMORY
- See Also:
- Constant Field Values
PROBLEM_UNKNOWNPROTOCOL
public static final int PROBLEM_UNKNOWNPROTOCOL
- See Also:
- Constant Field Values
PROBLEM_UNKNOWN_HOST
public static final int PROBLEM_UNKNOWN_HOST
- See Also:
- Constant Field Values
PROBLEM_TIMEOUT
public static final int PROBLEM_TIMEOUT
- See Also:
- Constant Field Values
PROBLEM_CONNECTION_CLOSED
public static final int PROBLEM_CONNECTION_CLOSED
- See Also:
- Constant Field Values
PROBLEM_NO_ROUTE
public static final int PROBLEM_NO_ROUTE
- See Also:
- Constant Field Values
PROBLEM_CLASSLOAD_FAILED
public static final int PROBLEM_CLASSLOAD_FAILED
- See Also:
- Constant Field Values
PROBLEM_AUTH_FAILED
public static final int PROBLEM_AUTH_FAILED
- See Also:
- Constant Field Values
PROBLEM_CERT_INVALID
public static final int PROBLEM_CERT_INVALID
- See Also:
- Constant Field Values
PROBLEM_CERT_WRONG_HOST
public static final int PROBLEM_CERT_WRONG_HOST
- See Also:
- Constant Field Values
PROBLEM_CERT_NOT_YET_VALID
public static final int PROBLEM_CERT_NOT_YET_VALID
- See Also:
- Constant Field Values
PROBLEM_CERT_EXIPRED
public static final int PROBLEM_CERT_EXIPRED
- See Also:
- Constant Field Values
PROBLEM_HTTP_DOCUMENT_NOT_FOUND
public static final int PROBLEM_HTTP_DOCUMENT_NOT_FOUND
- See Also:
- Constant Field Values
PROBLEM_HTTP_FORBIDDEN
public static final int PROBLEM_HTTP_FORBIDDEN
- See Also:
- Constant Field Values
PROBLEM_COULD_NOT_CONNECT
public static final int PROBLEM_COULD_NOT_CONNECT
- See Also:
- Constant Field Values
PROBLEM_XSLT_TRANSFORM_FAILED
public static final int PROBLEM_XSLT_TRANSFORM_FAILED
- See Also:
- Constant Field Values
PROBLEM_FILE_CACHE_PATH_INVALID
public static final int PROBLEM_FILE_CACHE_PATH_INVALID
- See Also:
- Constant Field Values
module
public int module
phase
public int phase
problem
public int problem
ICEException
public ICEException(int module,
int phase,
int problem)
moduleName
public static String moduleName(int moduleId)
phaseName
public static String phaseName(int phaseId)
problemName
public static String problemName(int problemId)
toString
public String toString()