org.enhydra.shark.api.client.wfbase
Class BaseError

java.lang.Object
  extended byorg.enhydra.shark.api.client.wfbase.BaseError
All Implemented Interfaces:
java.io.Serializable

public final class BaseError
extends java.lang.Object
implements java.io.Serializable

Java implementation of OMG's data type. This is how OMG defines it:

The BaseError structure is used to hold information on an application error. The exception_source is a printable description of the source of the exception. The exception_object is a pass-by-value object or an object reference of the object that generated the exception. The exception_code is an identifier associated with the source type. The exception_reason is a textual string containing a description of the exception and should correspond to the code.

Currently, it is not used in shark, but it is here because we want to be as much as possible close to OMG specification.

See Also:
Serialized Form

Field Summary
 int exception_code
           
 java.lang.Object exception_object
           
 java.lang.String exception_reason
           
 java.lang.String exception_source
           
 
Constructor Summary
BaseError()
           
BaseError(int _exception_code, java.lang.String _exception_source, java.lang.Object _exception_object, java.lang.String _exception_reason)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exception_code

public int exception_code

exception_source

public java.lang.String exception_source

exception_object

public java.lang.Object exception_object

exception_reason

public java.lang.String exception_reason
Constructor Detail

BaseError

public BaseError()

BaseError

public BaseError(int _exception_code,
                 java.lang.String _exception_source,
                 java.lang.Object _exception_object,
                 java.lang.String _exception_reason)