schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions module

This module contains exception classes for xsdtypes package

exception schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions.FileFormatError(data_format, filename, message=None)

Bases: exceptions.ValueError

This exception is raised when a XML file has syntax errors.

exception schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions.XMLDecodeError

Bases: exceptions.ValueError

Raised when a XML value string is not decodable to a Python object.

exception schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions.XMLEncodeError

Bases: exceptions.ValueError

Raised when an object is not encodable to an XML value string.

exception schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions.XMLSchemaValidationError(message)

Bases: exceptions.ValueError

This exception is raised when the XML configuration is not validated with the XSD schema.

exception schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions.XMLValueError(value, type_name)

Bases: exceptions.ValueError

Raised when the decoded value is non validated.