|
Cutelee 6.2.0
|
An exception for use when implementing template tags. More...
#include <cutelee/exception.h>
Public Member Functions | |
| Exception (Error errorCode, const QString &what) | |
The Exception class can be used when implementing AbstractNodeFactory::getNode. An exception can be thrown to indicate that the syntax of a particular tag is invalid.
For example, the following template markup should throw an error because the include tag should have exactly one argument:
The corresponding implementation of IncludeNodeFactory::getNode is
Definition at line 84 of file exception.h.
Creates an exception for the error errorCode and the verbose message what
Definition at line 91 of file exception.h.
Referenced by L10nFileSizeNodeFactory::getNode(), and L10nFileSizeVarNodeFactory::getNode().
|
inlinevirtual | ||||||||||||
Definition at line 96 of file exception.h.