ORCentral
Public Member Functions | Public Attributes

eu.coform.ORException Class Reference

Object repsoitory exception. More...

Inheritance diagram for eu.coform.ORException:
Inheritance graph
[legend]
Collaboration diagram for eu.coform.ORException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ORException (Error error)
 Ctor.
 ORException (int error)
 Ctor.
 ORException ()
 ORException (int errorcode, String errormessage)

Public Attributes

int errorcode
 Internal error code according to.
String errormessage
 Internal error messag.

Detailed Description

Object repsoitory exception.

This exception is used for server side error tracking, its primary function is storing of an error code as Exception message. That way the exception can be sent to the client which can, depending on the code get the error message associated and present the error appropriately to the user.

See also:
Error
Exception

Definition at line 13 of file ORException.java.


Constructor & Destructor Documentation

eu.coform.ORException.ORException ( Error  error)

Ctor.

Stores the error code as Exception message

Parameters:
errorerror enum value of this exception

Definition at line 35 of file ORException.java.

eu.coform.ORException.ORException ( int  error)

Ctor.

Unlike construction from Error this will query the actual message from Error.errorMap and set the Exception message accordingly. The code is only stored internally.

Parameters:
error

Definition at line 49 of file ORException.java.

eu.coform.ORException.ORException ( )

Definition at line 56 of file ORException.java.

eu.coform.ORException.ORException ( int  errorcode,
String  errormessage 
)

Definition at line 63 of file ORException.java.


Member Data Documentation

Internal error code according to.

See also:
Error.

Definition at line 21 of file ORException.java.

Internal error messag.

On a server this will be the error code when constructed from ORException(Error).

Definition at line 27 of file ORException.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations