#include <Exception.h>
Inheritance diagram for Sct::Throwable:
Public Member Functions | |
virtual long | sendToMrs (SEVERITY s)=0 throw () |
Send the message to the message reporting service. | |
virtual long | sendToMrs () const=0 throw () |
Send the message to the message reporting service. | |
virtual void | setSeverity (SEVERITY s)=0 throw () |
Set the severity of this exception. | |
virtual SEVERITY | getSeverity () const=0 throw () |
Get the severity. | |
virtual const Throwable * | getCause () const=0 throw () |
Get the cause. | |
virtual | ~Throwable () throw () |
Force virtual destructors. | |
virtual shared_ptr< Throwable > | clone () const=0 throw () |
Necessary for chaining of exceptions unfortunately. |
Adds a method that reports the exception to MRS. Also adds support for a cause. This enables exceptions to be chained and wrapped.
Definition at line 25 of file Exception.h.
|
Force virtual destructors.
Definition at line 58 of file Exception.h. |
|
Necessary for chaining of exceptions unfortunately. Should return a copy of this allocated on the heap. It is necessary for sub-classes to override this if they add new data members or if they do and special processing in what() or sentToMrs() Implemented in Sct::AbstractThrowable, Sct::IsException, Sct::FileException, Sct::NoSuchStreamerException, Sct::IpcException, and Sct::OutOfRangeError< T >. |
|
Get the cause.
Implemented in Sct::AbstractThrowable. |
|
Get the severity.
Implemented in Sct::AbstractThrowable. |
|
Send the message to the message reporting service.
Implemented in Sct::AbstractThrowable. |
|
Send the message to the message reporting service.
Implemented in Sct::AbstractThrowable. Referenced by SctCalibrationController::SequenceRequestWorker::operator()(), and Sct::Terminate(). |
|
Set the severity of this exception.
Implemented in Sct::AbstractThrowable. |