Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <berryCoreException.h>
Public Member Functions | |
CoreException (const SmartPointer< IStatus > &status) | |
~CoreException () override throw () | |
const char * | name () const override throw () |
CoreException * | clone () const override |
void | rethrow () const override |
SmartPointer< IStatus > | GetStatus () const |
A checked exception representing a failure.
Core exceptions contain a status object describing the cause of the exception.
This class can be used without OSGi running.
Definition at line 33 of file berryCoreException.h.
berry::CoreException::CoreException | ( | const SmartPointer< IStatus > & | status | ) |
Creates a new exception with the given status object. The message of the given status is used as the exception message.
status | the status object to be associated with this exception |
Definition at line 19 of file berryCoreException.cpp.
Referenced by clone().
|
override |
Definition at line 28 of file berryCoreException.cpp.
|
override |
Definition at line 37 of file berryCoreException.cpp.
References CoreException().
SmartPointer< IStatus > berry::CoreException::GetStatus | ( | ) | const |
Returns the status object for this exception.
Definition at line 47 of file berryCoreException.cpp.
References berry::IStatus::GetChildren().
Referenced by berry::WorkbenchPlugin::GetElementFactory(), and berry::SafeRunner::Run().
|
override |
Definition at line 32 of file berryCoreException.cpp.
|
override |
Definition at line 42 of file berryCoreException.cpp.