Apama  10.7.2.2
com::apama::EngineException Class Reference

An EngineException is thrown by methods in this library if any problems are encountered. More...

#include <engine_client_cpp.hpp>

Inheritance diagram for com::apama::EngineException:

Public Member Functions

 EngineException (const char *message)
 Construct an EngineException from a message. More...
 
 EngineException (const EngineException &ce)
 Copy constructor for EngineException. More...
 
EngineExceptionoperator= (const EngineException &ce)
 Copy assignment operator. More...
 
virtual ~EngineException () throw ()
 Destructor. More...
 
virtual const char * what () const throw ()
 Retrieve the message enclosed within the exception. More...
 
virtual const char *const * getWarnings () const
 Retrieve the set of warnings associated with the exception. More...
 

Detailed Description

An EngineException is thrown by methods in this library if any problems are encountered.

Constructor & Destructor Documentation

◆ EngineException() [1/2]

com::apama::EngineException::EngineException ( const char *  message)

Construct an EngineException from a message.

◆ EngineException() [2/2]

com::apama::EngineException::EngineException ( const EngineException ce)

Copy constructor for EngineException.

◆ ~EngineException()

virtual com::apama::EngineException::~EngineException ( )
throw (
)
virtual

Destructor.

Member Function Documentation

◆ getWarnings()

virtual const char* const* com::apama::EngineException::getWarnings ( ) const
inlinevirtual

Retrieve the set of warnings associated with the exception.

Returns
A pointer to a NULL terminated list of warnings, possibly NULL if there are none. This list is owned by the exception object. It should not be deleted.

◆ operator=()

EngineException& com::apama::EngineException::operator= ( const EngineException ce)
inline

Copy assignment operator.

◆ what()

virtual const char* com::apama::EngineException::what ( ) const
throw (
)
inlinevirtual

Retrieve the message enclosed within the exception.

Returns
C style string with details of the error that caused the operation to fail.

The documentation for this class was generated from the following file: