Visit Platform at http://www.platform.com

Main Page   Class Hierarchy   Compound List   Compound Members  

FailureExceptionPtr Class Reference

Smart pointer for the FailureException class. More...

Inheritance diagram for FailureExceptionPtr:

SoamExceptionPtr List of all members.

Public Methods

FailureExceptionoperator-> () const
 This operator makes it possible for the developer to access the smart pointer as if it were the actual API object.


Detailed Description

Smart pointer for the FailureException class.

If a pointer to a FailureException object is thrown within the service, the memory it is pointing to will be freed automatically using the delete operator.

If your exception must be created on the heap then it is recommended that this smart pointer be thrown instead of a raw pointer to prevent any ambiguity.

eg.

FailureExceptionPtr ex = new FailureException();
...
throw ex;



Member Function Documentation

FailureException* operator->   const
 

This operator makes it possible for the developer to access the smart pointer as if it were the actual API object.

Returns:
a reference to the API object.

Reimplemented from SoamExceptionPtr.



     
Date Modified: 11 Nov 2009
Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Platform Computing. Accelerating Intelligence(TM).
Copyright © 2001-2009 Platform Computing Corporation. All rights reserved.