Class Poco::XML::XMLException
Author: Applied Informatics Software Engineering GmbH and Contributors

# Poco::XML

# class XMLException

Library: XML
Package: XML
Header: Poco/XML/XMLException.h

## Inheritance

Direct Base Classes: Poco::RuntimeException

All Base Classes: Poco::Exception, Poco::RuntimeException, std::exception

Known Derived Classes: DOMException, SAXNotRecognizedException, SAXException, SAXNotSupportedException, XMLStreamParserException, EventException, SAXParseException

## Member Summary

Member Functions: className, clone, name, operator =, rethrow

Inherited Functions: className, clone, code, displayText, extendedMessage, message, name, nested, operator =, rethrow, what

## Constructors

### XMLException

XMLException(
int code = 0
);

### XMLException

XMLException(
const XMLException & exc
);

### XMLException

XMLException(
const std::string & msg,
int code = 0
);

### XMLException

XMLException(
const std::string & msg,
const std::string & arg,
int code = 0
);

### XMLException

XMLException(
const std::string & msg,
const Poco::Exception & exc,
int code = 0
);

## Destructor

### ~XMLException

~XMLException();

## Member Functions

### className

const char * className() const;

See also: Poco::RuntimeException::className()

### clone

Poco::Exception * clone() const;

### name

const char * name() const;

See also: Poco::RuntimeException::name()

### operator =

XMLException & operator = (
const XMLException & exc
);

### rethrow

void rethrow() const;

See also: Poco::RuntimeException::rethrow()