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

This module contains exception classes for xsdtypes package

exception schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions.XMLDecodeError[source]

Bases: ValueError

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

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception schrodinger.application.matsci.qexsd.qespresso.xsdtypes.exceptions.XMLEncodeError[source]

Bases: ValueError

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

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

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

Bases: ValueError

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

__init__(data_format, filename, message=None)[source]

Initialize self. See help(type(self)) for accurate signature.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

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

Bases: ValueError

Raised when the decoded value is non validated.

__init__(value, type_name)[source]

Initialize self. See help(type(self)) for accurate signature.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

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

Bases: ValueError

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

__init__(message)[source]

Initialize self. See help(type(self)) for accurate signature.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.