#include <coherence/io/pof/PortableException.hpp>
Inherits RuntimeException.
Inherited by RequestTimeoutException.
Public Types | |
typedef spec::Handle | Handle |
PortableException Handle definition. | |
typedef spec::View | View |
PortableException View definition. | |
typedef spec::Holder | Holder |
PortableException Holder definition. | |
Public Member Functions | |
virtual void | readExternal (PofReader::Handle hIn) |
virtual void | writeExternal (PofWriter::Handle hOut) const |
virtual String::View | getName () const |
Return the name of the exception. | |
virtual ObjectArray::View | getStackTrace () const |
Return the stack trace for the exception.
| |
Protected Member Functions | |
PortableException (String::View vsMessage=String::NULL_STRING, Exception::View ve=NULL) | |
Construct a PortableException from a Throwable object and an additional description. | |
virtual void | onInit () |
{Event called once the Object has finished being constructed. Specifically when the first attachment is made. This provides a safe point at which Handles/Views to "this" can be created. It is not safe to create Handles/Views to an Object from within its constructor, thus any operations which rely upon this should be deferred until the onInit event is triggered. As with all event methods any derived implementation should include a call to the super class's implementation. Specifically delegation to Object::onInit() must eventually occur or an IllegalStateException will result.
The default implementation calls the onInit() method of each of the Object's SmartMembers.} | |
Protected Attributes | |
MemberView< String > | m_vsName |
The exception's name. | |
MemberView< ObjectArray > | m_vaStackRemote |
A raw representaion of the remote stack trace for this exception. |
PortableException | ( | String::View | vsMessage = String::NULL_STRING , |
|
Exception::View | ve = NULL | |||
) | [protected] |
Construct a PortableException from a Throwable object and an additional description.
vsMessage | the additional description | |
ve | the cause exception |