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)¶
- 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)¶
- 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.
- 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.
- 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.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.