Qore Programming Language
1.8.1
|
abstract base class for c++ Exceptions in the Qore library More...
#include <QoreStandardException.h>
Public Member Methods | |
DLLEXPORT | QoreStandardException (const char *err, const char *desc_fmt,...) |
creates the exception object with error and description strings | |
DLLEXPORT | QoreStandardException (const char *err, QoreStringNode *desc, QoreValue arg=QoreValue()) |
creates the exception object with error and description strings More... | |
DLLLOCAL | QoreStandardException (QoreStandardException &&)=default |
Default move constructor. | |
DLLEXPORT | QoreStandardException (QoreStringNode *err, QoreStringNode *desc) |
creates the exception object with error and description strings More... | |
DLLEXPORT | QoreStandardException (QoreStringNode *err, QoreStringNode *desc, QoreValue arg) |
creates the exception object with error and description strings More... | |
virtual DLLEXPORT | ~QoreStandardException () |
Destroys the object. | |
virtual void | convert (ExceptionSink *xsink) |
Raises the corresponding Qore exception in the ExceptionSink. More... | |
DLLLOCAL QoreStandardException & | operator= (QoreStandardException &&)=default |
Default assignment operator. | |
Public Member Methods inherited from AbstractException | |
virtual DLLLOCAL | ~AbstractException ()=default |
Default virtual destructor. | |
Additional Inherited Members | |
Private Member Methods inherited from AbstractException | |
DLLLOCAL | AbstractException ()=default |
Default constructor. | |
abstract base class for c++ Exceptions in the Qore library
DLLEXPORT QoreStandardException::QoreStandardException | ( | const char * | err, |
QoreStringNode * | desc, | ||
QoreValue | arg = QoreValue() |
||
) |
creates the exception object with error and description strings
this function takes ownership of the string reference for desc
DLLEXPORT QoreStandardException::QoreStandardException | ( | QoreStringNode * | err, |
QoreStringNode * | desc | ||
) |
creates the exception object with error and description strings
this function takes ownership of the string references
DLLEXPORT QoreStandardException::QoreStandardException | ( | QoreStringNode * | err, |
QoreStringNode * | desc, | ||
QoreValue | arg | ||
) |
creates the exception object with error and description strings
this function takes ownership of the string references
|
virtual |
Raises the corresponding Qore exception in the ExceptionSink.
xsink | the exception sink |
Implements AbstractException.