ORCentral
|
Object repsoitory exception. More...
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. |
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.
Definition at line 13 of file ORException.java.
eu.coform.ORException.ORException | ( | Error | error | ) |
Ctor.
Stores the error code as Exception message
error | error 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.
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.
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.