Xalan-C++ API Reference  1.12.0
List of all members
xalanc::XalanDOMException Class Reference

#include <xalanc/XalanDOM/XalanDOMException.hpp>

Inheritance diagram for xalanc::XalanDOMException:
[legend]

Public Types

Enumerators for DOM Exceptions
enum  ExceptionCode {
  INDEX_SIZE_ERR = 1, DOMSTRING_SIZE_ERR = 2, HIERARCHY_REQUEST_ERR = 3, WRONG_DOCUMENT_ERR = 4,
  INVALID_CHARACTER_ERR = 5, NO_DATA_ALLOWED_ERR = 6, NO_MODIFICATION_ALLOWED_ERR = 7, NOT_FOUND_ERR = 8,
  NOT_SUPPORTED_ERR = 9, INUSE_ATTRIBUTE_ERR = 10, INVALID_STATE_ERR = 11, SYNTAX_ERR = 12,
  INVALID_MODIFICATION_ERR = 13, NAMESPACE_ERR = 14, INVALID_ACCESS_ERR = 15, UNKNOWN_ERR = 201,
  TRANSCODING_ERR = 202
}
 

Public Member Functions

Constructors and assignment operator
 XalanDOMException (ExceptionCode code=UNKNOWN_ERR)
 Constructor which takes an error code and a message. More...
 
 XalanDOMException (const XalanDOMException &theSource)
 Copy constructor. More...
 
Destructor.
virtual ~XalanDOMException ()
 Destructor for XalanDOMException. More...
 

Get functions.

virtual ExceptionCode getExceptionCode () const
 Returns a code value, from the set defined by the ExceptionCode enum, indicating the type of error that occurred. More...
 

Detailed Description

Definition at line 39 of file XalanDOMException.hpp.

Member Enumeration Documentation

◆ ExceptionCode

Enumerator
INDEX_SIZE_ERR 
DOMSTRING_SIZE_ERR 
HIERARCHY_REQUEST_ERR 
WRONG_DOCUMENT_ERR 
INVALID_CHARACTER_ERR 
NO_DATA_ALLOWED_ERR 
NO_MODIFICATION_ALLOWED_ERR 
NOT_FOUND_ERR 
NOT_SUPPORTED_ERR 
INUSE_ATTRIBUTE_ERR 
INVALID_STATE_ERR 
SYNTAX_ERR 
INVALID_MODIFICATION_ERR 
NAMESPACE_ERR 
INVALID_ACCESS_ERR 
UNKNOWN_ERR 
TRANSCODING_ERR 

Definition at line 45 of file XalanDOMException.hpp.

Constructor & Destructor Documentation

◆ XalanDOMException() [1/2]

xalanc::XalanDOMException::XalanDOMException ( ExceptionCode  code = UNKNOWN_ERR)
explicit

Constructor which takes an error code and a message.

Parameters
codeThe error code which indicates the exception

◆ XalanDOMException() [2/2]

xalanc::XalanDOMException::XalanDOMException ( const XalanDOMException theSource)

Copy constructor.

Parameters
otherThe object to be copied.

◆ ~XalanDOMException()

virtual xalanc::XalanDOMException::~XalanDOMException ( )
virtual

Destructor for XalanDOMException.

Member Function Documentation

◆ getExceptionCode()

virtual ExceptionCode xalanc::XalanDOMException::getExceptionCode ( ) const
virtual

Returns a code value, from the set defined by the ExceptionCode enum, indicating the type of error that occurred.

Returns
The exception code.

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