KTextTemplate::Exception
#include <KTextTemplate/Exception>
Public Member Functions | |
Exception (Error errorCode, const QString &what) | |
Detailed Description
An exception for use when implementing template tags.
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 73 of file exception.h.
Constructor & Destructor Documentation
◆ Exception()
Creates an exception for the error errorCode
and the verbose message what
.
Definition at line 80 of file exception.h.
◆ ~Exception()
|
inlinevirtual |
Definition at line 86 of file exception.h.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:58:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.