Public Member Functions | |
void | displayMessage () |
void | badMethod (short depth) throws GenericErrorEx |
void | corbaSystemException () throws org.omg.CORBA.SystemException |
void | exceptionFromCompletion (short depth) throws GenericErrorEx |
void | typeException (short depth) throws ACSErrTypeCommonEx |
Completion | completionFromException (short depth) |
Completion | completionFromCompletion (short depth) |
Completion | completionOnStack (short depth) |
void | outCompletion (alma.ACSErr.CompletionHolder comp) |
Private Member Functions | |
void | internalBadMethod (int depth) throws AcsJGenericErrorEx |
AcsJCompletion | internalCompletionMethod (int depth) |
ErrorComponent
interface, which should demonstrate proper use of the ACS error system in Java. Note on logging: unlike in the C++ implementation of this component, here we do not log the invocation of every method, because the Java container does this automatically. In general the component should only trace the invocations itself if it needs to add custom data to the log.
|
An intentionally bad method that throws an exception (
Note that the thrown CORBA exception Implements alma::acsexmplErrorComponent::ErrorComponentOperations.
|
|
Implements alma::acsexmplErrorComponent::ErrorComponentOperations.
|
|
Implements alma::acsexmplErrorComponent::ErrorComponentOperations.
|
|
Forwards to completionFromException(short) because in Java we can't create objects on the stack, so there is no distinction to be made. Implements alma::acsexmplErrorComponent::ErrorComponentOperations.
|
|
An intentionally bad method that throws a CORBA::BAD_PARAM system exception to show how to handle CORBA System Exceptions Implements alma::acsexmplErrorComponent::ErrorComponentOperations.
|
|
Implements alma::acsexmplErrorComponent::ErrorComponentOperations.
|
|
This method throws a Implements alma::acsexmplErrorComponent::ErrorComponentOperations.
|
|
Method that calls itself recursively to construct an AcsJGenericErrorEx exception with causing exceptions of the same type. This behavior is meant to mimic a number of calls down into the implementation classes of a real-world component, even though there we would typically deal with different methods calling one another, instead of the same method calling itself recursively.
|
|
Creates a completion, optionally based on a chain of exceptions.
|
|
this method returns a Completion as an out parameter.
Implements alma::acsexmplErrorComponent::ErrorComponentOperations.
|
|
Implements alma::acsexmplErrorComponent::ErrorComponentOperations.
|