Main Page Class Hierarchy Compound List Compound Members FailureExceptionPtr Class Reference
Smart pointer for the FailureException class. More...
Inheritance diagram for FailureExceptionPtr:
List of all members.
Public Methods
FailureException * operator-> () 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;
NOTE:
- If any of the methods of this class are called after the main(...) method exits, the client or service process may behave in an undefined manner (for example, hang or terminate abnormally).
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: 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.