Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47891-01

PortableException Class Reference

#include <coherence/io/pof/PortableException.hpp>

Inherits RuntimeException.

Inherited by RequestIncompleteException.

List of all members.


Detailed Description

A PortableException is an exception that allows information about a remote exception or error to be serialized and deserialized to/from a POF stream.

Author:
jh,mf 2008.01.23

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.

Returns:
an array of StackTraceElements.


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.
 PortableException (const PortableException &)
 Copy constructor.

Protected Attributes

FinalView< Stringf_vsName
 The exception's name.
FinalView< ObjectArrayf_vaStackRemote
 A raw representaion of the remote stack trace for this exception.

Constructor & Destructor Documentation

PortableException ( String::View  vsMessage = String::null_string,
Exception::View  ve = NULL 
) [protected]

Construct a PortableException from a Throwable object and an additional description.

Parameters:
vsMessage the additional description
ve the cause exception


The documentation for this class was generated from the following file:
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.