decaf::util::concurrent::CancellationException Class Reference

#include <src/main/decaf/util/concurrent/CancellationException.h>

Inheritance diagram for decaf::util::concurrent::CancellationException:
Inheritance graph
[legend]

Public Member Functions

 CancellationException ()
 Default Constructor.
 CancellationException (const decaf::lang::Exception &ex)
 Conversion Constructor from some other Exception.
 CancellationException (const CancellationException &ex)
 Copy Constructor.
 CancellationException (const std::exception *cause)
 Constructor.
 CancellationException (const char *file, const int lineNumber, const char *msg,...)
 Constructor - Initializes the file name and line number where this message occurred.
 CancellationException (const char *file, const int lineNumber, const std::exception *cause, const char *msg,...)
 Constructor - Initializes the file name and line number where this message occurred.
virtual CancellationExceptionclone () const
 Clones this exception.
virtual ~CancellationException () throw ()

Constructor & Destructor Documentation

decaf::util::concurrent::CancellationException::CancellationException (  ) 

Default Constructor.

decaf::util::concurrent::CancellationException::CancellationException ( const decaf::lang::Exception ex  ) 

Conversion Constructor from some other Exception.

Parameters:
ex An exception that should become this type of Exception
decaf::util::concurrent::CancellationException::CancellationException ( const CancellationException ex  ) 

Copy Constructor.

Parameters:
ex - The Exception to copy in this new instance.
decaf::util::concurrent::CancellationException::CancellationException ( const std::exception *  cause  ) 

Constructor.

Parameters:
cause Pointer to the exception that caused this one to be thrown, the object is cloned caller retains ownership.
decaf::util::concurrent::CancellationException::CancellationException ( const char *  file,
const int  lineNumber,
const char *  msg,
  ... 
)

Constructor - Initializes the file name and line number where this message occurred.

Sets the message to report, using an optional list of arguments to parse into the message

Parameters:
file - The file name where exception occurs
lineNumber - The line number where the exception occurred.
msg - The message to report
... - list of primitives that are formatted into the message
decaf::util::concurrent::CancellationException::CancellationException ( const char *  file,
const int  lineNumber,
const std::exception *  cause,
const char *  msg,
  ... 
)

Constructor - Initializes the file name and line number where this message occurred.

Sets the message to report, using an optional list of arguments to parse into the message

Parameters:
file - The file name where exception occurs
lineNumber - The line number where the exception occurred.
cause - The exception that was the cause for this one to be thrown.
msg - The message to report
... - list of primitives that are formatted into the message
virtual decaf::util::concurrent::CancellationException::~CancellationException (  )  throw () [virtual]

Member Function Documentation

virtual CancellationException* decaf::util::concurrent::CancellationException::clone (  )  const [virtual]

Clones this exception.

This is useful for cases where you need to preserve the type of the original exception as well as the message. All subclasses should override.

Returns:
a new instance of an exception that is a clone of this one.

Reimplemented from decaf::lang::Exception.


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