.TH "DOM::DOMException" kde3 "11 Jun 2005" "Version Version 3.4.1" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DOM::DOMException \- \fBDOM\fP operations only raise exceptions in ''exceptional'' circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable).  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <dom_exception.h>\fP
.PP
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBExceptionCode\fP { \fBINDEX_SIZE_ERR\fP =  1, \fBDOMSTRING_SIZE_ERR\fP =  2, \fBHIERARCHY_REQUEST_ERR\fP =  3, \fBWRONG_DOCUMENT_ERR\fP =  4, \fBINVALID_CHARACTER_ERR\fP =  5, \fBNO_DATA_ALLOWED_ERR\fP =  6, \fBNO_MODIFICATION_ALLOWED_ERR\fP =  7, \fBNOT_FOUND_ERR\fP =  8, \fBNOT_SUPPORTED_ERR\fP =  9, \fBINUSE_ATTRIBUTE_ERR\fP =  10, \fBINVALID_STATE_ERR\fP =  11, \fBSYNTAX_ERR\fP =  12, \fBINVALID_MODIFICATION_ERR\fP =  13, \fBNAMESPACE_ERR\fP =  14, \fBINVALID_ACCESS_ERR\fP =  15 }"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBDOMException\fP (unsigned short _code)"
.br
.ti -1c
.RI "\fBDOMException\fP (const \fBDOMException\fP &other)"
.br
.ti -1c
.RI "\fBDOMException\fP & \fBoperator=\fP (const \fBDOMException\fP &other)"
.br
.in -1c
.SS "Public Attributes"

.in +1c
.ti -1c
.RI "unsigned short \fBcode\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBDOM\fP operations only raise exceptions in ''exceptional'' circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable). 

In general, \fBDOM\fP methods return specific error values in ordinary processing situation, such as out-of-bound errors when using \fC\fBNodeList\fP\fP .
.PP
Implementations may raise other exceptions under other circumstances. For example, implementations may raise an implementation-dependent exception if a \fCnull\fP argument is passed.
.PP
Some languages and object systems do not support the concept of exceptions. For such systems, error conditions may be indicated using native error reporting mechanisms. For some bindings, for example, methods may return error codes similar to those listed in the corresponding method descriptions. 
.PP
Definition at line 57 of file dom_exception.h.
.SH "Member Enumeration Documentation"
.PP 
.SS "enum \fBDOM::DOMException::ExceptionCode\fP"
.PP
An integer indicating the type of error generated. 
.PP
Definition at line 71 of file dom_exception.h.

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
