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¶
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¶
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)¶
Bases:
ValueError
This exception is raised when a XML file has syntax errors.
- __init__(data_format, filename, message=None)¶
- 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)¶
Bases:
ValueError
Raised when the decoded value is non validated.
- __init__(value, type_name)¶
- 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)¶
Bases:
ValueError
This exception is raised when the XML configuration is not validated with the XSD schema.
- __init__(message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.