

Public Member Functions | |
| DefaultAcsJException (String message, int errType, int errCode, String shortDescription) | |
| UserException | toCorbaException () |
| String | getShortDescription () |
Protected Member Functions | |
| int | getErrorType () |
| int | getErrorCode () |
Package Functions | |
| DefaultAcsJException (ErrorTrace etCause) | |
Private Attributes | |
| int | errType |
| int | errCode |
| String | shortDescription |
Exception used as a default where an ErrorTrace object can't be converted to a genuine Java exception for one of the following reasons:
ErrorTrace, because the original exception was not thrown in Java. AcsJException, e.g. any of the java.lang exceptions. In order to not loose the information contained in ErrorTrace or AcsJException, we reconstruct the non-ACS exception as a DefaultAcsJException, stating the original exception class in the message string. | alma::acs::exceptions::DefaultAcsJException::DefaultAcsJException | ( | String | message, | |
| int | errType, | |||
| int | errCode, | |||
| String | shortDescription | |||
| ) | [inline] |
| alma::acs::exceptions::DefaultAcsJException::DefaultAcsJException | ( | ErrorTrace | etCause | ) | [inline, package] |
| etCause |
| int alma::acs::exceptions::DefaultAcsJException::getErrorCode | ( | ) | [inline, protected, virtual] |
Implements alma::acs::exceptions::AcsJException.
References errCode.
| int alma::acs::exceptions::DefaultAcsJException::getErrorType | ( | ) | [inline, protected, virtual] |
Implements alma::acs::exceptions::AcsJException.
References errType.
| String alma::acs::exceptions::DefaultAcsJException::getShortDescription | ( | ) | [inline] |
Reimplemented from alma::acs::exceptions::AcsJException.
References shortDescription.
| UserException alma::acs::exceptions::DefaultAcsJException::toCorbaException | ( | ) | [inline, virtual] |
Unlike other exception classes, this class does not correspond directly to an IDL defined type safe exception. Therefore, the returned UserException is an instance of alma.ACSErr.ACSException.
Implements alma::acs::exceptions::AcsJException.
References alma::acs::exceptions::AcsJException::getACSException().
int alma::acs::exceptions::DefaultAcsJException::errCode [private] |
Referenced by getErrorCode().
int alma::acs::exceptions::DefaultAcsJException::errType [private] |
Referenced by getErrorType().
String alma::acs::exceptions::DefaultAcsJException::shortDescription [private] |
Referenced by getShortDescription().
1.6.2