

Public Member Functions | |
| AcsJDecrementErrorEx () | |
| AcsJDecrementErrorEx (String message) | |
| AcsJDecrementErrorEx (String message, Throwable cause) | |
| AcsJDecrementErrorEx (Throwable cause) | |
| AcsJDecrementErrorEx (ErrorTrace etCause) | |
| AcsJDecrementErrorEx (String message, ErrorTrace etCause) | |
| String | getShortDescription () |
| UserException | toCorbaException () |
| DecrementErrorEx | toDecrementErrorEx () |
Static Public Member Functions | |
| static AcsJDecrementErrorEx | fromDecrementErrorEx (DecrementErrorEx corbaEx) |
Protected Member Functions | |
| final int | getErrorCode () |
Java native style exception class representing the error type alma.ACSErr.ACSErrType.baciErrTypeProperty, error code DecrementError.value.
| alma::baciErrTypeProperty::wrappers::AcsJDecrementErrorEx::AcsJDecrementErrorEx | ( | ) | [inline] |
Referenced by fromDecrementErrorEx().
| alma::baciErrTypeProperty::wrappers::AcsJDecrementErrorEx::AcsJDecrementErrorEx | ( | String | message | ) | [inline] |
message should be given as parameters instead! | alma::baciErrTypeProperty::wrappers::AcsJDecrementErrorEx::AcsJDecrementErrorEx | ( | String | message, | |
| Throwable | cause | |||
| ) | [inline] |
message should be given as parameters instead! | alma::baciErrTypeProperty::wrappers::AcsJDecrementErrorEx::AcsJDecrementErrorEx | ( | Throwable | cause | ) | [inline] |
| alma::baciErrTypeProperty::wrappers::AcsJDecrementErrorEx::AcsJDecrementErrorEx | ( | ErrorTrace | etCause | ) | [inline] |
| alma::baciErrTypeProperty::wrappers::AcsJDecrementErrorEx::AcsJDecrementErrorEx | ( | String | message, | |
| ErrorTrace | etCause | |||
| ) | [inline] |
message should be given as parameters instead! | static AcsJDecrementErrorEx alma::baciErrTypeProperty::wrappers::AcsJDecrementErrorEx::fromDecrementErrorEx | ( | DecrementErrorEx | corbaEx | ) | [inline, static] |
Converts a CORBA DecrementError to an instance of this class.
Note that unlike the constructor AcsJErrTest0Ex(ErrorTrace), this static conversion method does not wrap the existing chain of exceptions with a new exception. It simply converts all exceptions found in the ErrorTrace of corbaEx to the corresponding Java exceptions, knowing that the top level exception is of type DecrementError and can always be converted to AcsJDecrementErrorEx.
Here's an example of how to use this method in a Java program that makes a call so some other component etc.:
private void methodThatMakesARemoteCall() throws AcsJDecrementErrorEx { try { // this fakes the remote call to a method // which can throw an DecrementErrorEx... throw new DecrementErrorEx(); } catch (DecrementErrorEx corbaEx) { throw AcsJDecrementErrorEx.fromDecrementErrorEx(corbaEx); } }
| corbaEx | the CORBA equivalent of this class; will be converted |
corbaEx. References AcsJDecrementErrorEx(), and alma::baciErrTypeProperty::DecrementErrorEx::errorTrace.
| final int alma::baciErrTypeProperty::wrappers::AcsJDecrementErrorEx::getErrorCode | ( | ) | [inline, protected, virtual] |
Returns the error code, which is fixed to 8, given by DecrementError.value.
Implements alma::acs::exceptions::AcsJException.
| String alma::baciErrTypeProperty::wrappers::AcsJDecrementErrorEx::getShortDescription | ( | ) | [inline] |
Returns the short description of the error
Reimplemented from alma::acs::exceptions::AcsJException.
| UserException alma::baciErrTypeProperty::wrappers::AcsJDecrementErrorEx::toCorbaException | ( | ) | [inline, virtual] |
Implements alma::acs::exceptions::AcsJException.
References toDecrementErrorEx().
| DecrementErrorEx alma::baciErrTypeProperty::wrappers::AcsJDecrementErrorEx::toDecrementErrorEx | ( | ) | [inline] |
Creates an DecrementError that represents this exception with all its caused-by child exceptions.
Typically to be called from a top-level catch block that must convert any of the Java exceptions used internally by the Java program to an IDL type exception that can be thrown on over CORBA.
org.omg.CORBA.UserException with an embedded ErrorTrace. References alma::acs::exceptions::AcsJException::getErrorTrace().
Referenced by toCorbaException().
1.6.2