cms::MessageEOFException Class Reference

This exception must be thrown when an unexpected end of stream has been reached when a StreamMessage or BytesMessage is being read. More...

#include <src/main/cms/MessageEOFException.h>

Inheritance diagram for cms::MessageEOFException:
Inheritance graph
[legend]

Public Member Functions

 MessageEOFException ()
 MessageEOFException (const MessageEOFException &ex)
 MessageEOFException (const std::string &message)
 MessageEOFException (const std::string &message, const std::exception *cause)
 MessageEOFException (const std::string &message, const std::exception *cause, const std::vector< std::pair< std::string, int > > &stackTrace)
virtual ~MessageEOFException () throw ()
virtual MessageEOFExceptionclone ()
 Creates a cloned version of this CMSException instance.

Detailed Description

This exception must be thrown when an unexpected end of stream has been reached when a StreamMessage or BytesMessage is being read.

Since:
1.3

Constructor & Destructor Documentation

cms::MessageEOFException::MessageEOFException (  ) 
cms::MessageEOFException::MessageEOFException ( const MessageEOFException ex  ) 
cms::MessageEOFException::MessageEOFException ( const std::string &  message  ) 
cms::MessageEOFException::MessageEOFException ( const std::string &  message,
const std::exception *  cause 
)
cms::MessageEOFException::MessageEOFException ( const std::string &  message,
const std::exception *  cause,
const std::vector< std::pair< std::string, int > > &  stackTrace 
)
virtual cms::MessageEOFException::~MessageEOFException (  )  throw () [virtual]

Member Function Documentation

virtual MessageEOFException* cms::MessageEOFException::clone (  )  [virtual]

Creates a cloned version of this CMSException instance.

This method passes on ownership of the contained cause exception pointer to the clone. This method is mainly useful to the CMS provider.

Returns:
new pointer that is a clone of this Exception, caller owns.

Reimplemented from cms::CMSException.


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

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1