Module eoxserver.core.exceptions

This module contains exception classes used throughout EOxServer.

exception eoxserver.core.exceptions.BindingMethodError(msg)

This exception shall be raised by the registry if it cannot bind to implementations of a given interface because the binding method does not allow it.

exception eoxserver.core.exceptions.ConfigError(msg)

This exception shall be raised if the system configuration is invalid.

exception eoxserver.core.exceptions.DecoderException(msg)

This is the base class for exceptions raised by decoders as defined in eoxserver.core.util.decoders.

exception eoxserver.core.exceptions.EOxSException(msg)

Base class for EOxServer exceptions. Expects the error message as its single constructor argument.

exception eoxserver.core.exceptions.FactoryQueryAmbiguous(msg)

This exception shall be raised when ... TODO

exception eoxserver.core.exceptions.IDInUse(msg)

This exception shall be raised if a requested unique ID is already in use.

exception eoxserver.core.exceptions.ImplementationAmbiguous(msg)

This exception shall be raised by the registry if the input data matches more than one implementation.

exception eoxserver.core.exceptions.ImplementationDisabled(msg)

This exception shall be raised by the registry if the requested implementation is disabled.

exception eoxserver.core.exceptions.ImplementationNotFound(msg)

This exception shall be raised by the registry if an implementation ID is not found.

exception eoxserver.core.exceptions.InternalError(msg)

InternalError shall be raised by EOxServer modules whenever they detect a fault that stems from errors in the EOxServer implementation. It shall NOT be used for error conditions that are caused by incorrect or invalid user or service input or that originate from the individual system configuration.

In a web service environment, an InternalError should lead to the server responding with a HTTP Status of 500 INTERNAL SERVER ERROR.

exception eoxserver.core.exceptions.InvalidExpressionError(msg)

This exception shall be raised if a filter expression statement is invalid, e.g. because of incorrect operands.

exception eoxserver.core.exceptions.InvalidParameterException(msg)

This exception shall be raised if a parameter is found to be invalid.

exception eoxserver.core.exceptions.IpcException(msg)

This exception shall be raised in case of communication faults in the IPC system.

exception eoxserver.core.exceptions.KVPDecoderException(msg)

This is the base class for exceptions raised by the KVP decoder.

exception eoxserver.core.exceptions.KVPKeyNotFound(msg)

This exception shall be raised if the KVP decoder does not encounter a given key. It inherits from KVPDecoderException and MissingParameterException.

exception eoxserver.core.exceptions.KVPKeyOccurrenceError(msg)

This exception shall be raised if the number of occurrences of a given KVP key does not lay within the occurrence range defined by the applicable decoding schema. It inherits from KVPDecoderException and InvalidParameterException.

exception eoxserver.core.exceptions.KVPTypeError(msg)

This exception shall be raised if the requested KVP value is of another type than defined in the decoding schema. It inherits from KVPDecoderException and InvalidParameterException.

exception eoxserver.core.exceptions.MissingParameterException(msg)

This exception shall be raised if an expected parameter is not found.

exception eoxserver.core.exceptions.TypeMismatch(msg)

This exception shall be raised by interfaces in case they detect that an implementation method has been called within an argument of the wrong type.

exception eoxserver.core.exceptions.UniquenessViolation(msg)

This excetion shall be raised if a database record cannot be created due to uniqueness constraints.

exception eoxserver.core.exceptions.UnknownAttribute(msg)

This exception shall be raised if an unknown or invalid attribute is requested from a resource.

exception eoxserver.core.exceptions.UnknownParameterFormatException(msg)

This exception shall be raised if a parameter is not in the format expected by the implementation.

exception eoxserver.core.exceptions.XMLDecoderException(msg)

This is the base class for exceptions raised by the XML decoder.

exception eoxserver.core.exceptions.XMLEncoderException(msg)

This exception shall be raised if the XML encoder finds an error in an encoding schema.

exception eoxserver.core.exceptions.XMLNodeNotFound(msg)

This exception shall be raised if the XML decoder does not encounter a given XML node. It inherits from XMLDecoderException and MissingParameterException.

exception eoxserver.core.exceptions.XMLNodeOccurrenceError(msg)

This exception shall be raised if the number of occurrences of a given XML node does not lay within the occurrence range defined by the applicable decoding schema. It inherits from XMLDecoderException and InvalidParameterException.

exception eoxserver.core.exceptions.XMLTypeError(msg)

This exception shall be raised if the requested XML node value is of another type than defined in the decoding schema. It inherits from XMLDecoderException and InvalidParameterException.