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

Main Page   Class Hierarchy   Compound List   Compound Members  

FatalExceptionPtr Class Reference

Smart pointer for the FatalException class. More...

Inheritance diagram for FatalExceptionPtr:

SoamExceptionPtr List of all members.

Public Methods

FatalExceptionoperator-> () 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 FatalException class.

If a pointer to a FatalException 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.

FatalExceptionPtr ex = new FatalException();
...
throw ex;


NOTE:


Member Function Documentation

FatalException* 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: 28 Apr 2011
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.