Hazelcast C++ Client
Public Member Functions | List of all members
hazelcast::client::exception::UndefinedErrorCodeException Class Reference
+ Inheritance diagram for hazelcast::client::exception::UndefinedErrorCodeException:

Public Member Functions

 UndefinedErrorCodeException (const std::string &source, const std::string &message, int32_t errorCode, int64_t correlationId, std::string details)
 
int32_t getUndefinedErrorCode () const
 
int64_t getMessageCallId () const
 
const std::string & getDetailedErrorMessage () const
 
virtual std::auto_ptr< IExceptionclone () const
 We need this method to clone the specific derived exception when needed. More...
 
virtual void raise () const
 
- Public Member Functions inherited from hazelcast::client::exception::IException
 IException (const std::string &exceptionName, const std::string &source, const std::string &message, const std::string &details, int32_t errorNo, int32_t causeCode, bool isRuntime, bool retryable=false)
 
 IException (const std::string &exceptionName, const std::string &source, const std::string &message, int32_t errorNo, int32_t causeCode, bool isRuntime, bool retryable=false)
 
 IException (const std::string &exceptionName, const std::string &source, const std::string &message, int32_t errorNo, bool isRuntime, bool retryable=false)
 
 IException (const std::string &exceptionName, const std::string &source, const std::string &message, int32_t errorNo, const boost::shared_ptr< IException > &cause, bool isRuntime, bool retryable=false)
 
virtual char const * what () const throw ()
 return pointer to the explanation string.
 
const std::string & getSource () const
 
const std::string & getMessage () const
 
const std::string & getDetails () const
 
int32_t getErrorCode () const
 
int32_t getCauseErrorCode () const
 
const boost::shared_ptr< IException > & getCause () const
 
bool isRuntimeException () const
 
bool isRetryable () const
 

Additional Inherited Members

- Protected Attributes inherited from hazelcast::client::exception::IException
std::string src
 
std::string msg
 
std::string details
 
std::string report
 
int32_t errorCode
 
int32_t causeErrorCode
 
boost::shared_ptr< IExceptioncause
 
bool runtimeException
 
bool retryable
 

Member Function Documentation

◆ clone()

std::auto_ptr< IException > hazelcast::client::exception::UndefinedErrorCodeException::clone ( ) const
virtual

We need this method to clone the specific derived exception when needed.

The exception has to be the derived type so that the exception rethrowing works as expected by throwing the derived exception. Exception throwing internals works by making a temporary copy of the exception.

Returns
The copy of this exception

Reimplemented from hazelcast::client::exception::IException.


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