Loading...
Searching...
No Matches
QoreStandardException Class Reference

abstract base class for c++ Exceptions in the Qore library More...

`#include <QoreStandardException.h>`

Inheritance diagram for QoreStandardException:
[legend]
Collaboration diagram for QoreStandardException:
[legend]

## Public Member Functions

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 Functions inherited from AbstractException
virtual DLLLOCAL | ~AbstractException ()=default
| Default virtual destructor.
virtual void | convert (ExceptionSink *xsink)=0
| Raises the corresponding Qore exception in the ExceptionSink. More...

## Additional Inherited Members

Protected Member Functions inherited from AbstractException
DLLLOCAL | AbstractException ()=default
| Default constructor.

## Detailed Description

abstract base class for c++ Exceptions in the Qore library

## Constructor & Destructor Documentation

## QoreStandardException() [1/3]

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

Since
  Qore 0.9.5

## QoreStandardException() [2/3]

DLLEXPORT QoreStandardException::QoreStandardException | ( | QoreStringNode * | err,
|  | QoreStringNode * | desc
| ) |  |

creates the exception object with error and description strings

this function takes ownership of the string references

## QoreStandardException() [3/3]

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

Since
  Qore 0.9.5

## Member Function Documentation

## convert()

virtual void QoreStandardException::convert | ( | ExceptionSink * | xsink | ) |

virtual

Raises the corresponding Qore exception in the ExceptionSink.

Parameters

  xsink | the exception sink

Implements AbstractException.

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

- include/qore/QoreStandardException.h