Exceptions

Exception hierarchy for neoads.

author:

Athanasios Anastasiou

date:

June 2018

exception neoads.exception.ContainerNotEmpty

Raised when a container data type is about to be reset but it is not empty.

exception neoads.exception.DataStructureError
exception neoads.exception.MemoryManagerError

Raised when the memory manager encounters specific error conditions.

exception neoads.exception.NeoadsException
exception neoads.exception.ObjectDeletedError
exception neoads.exception.ObjectNotFound

Raised when a variable that does not exist is requested from the system.

exception neoads.exception.ObjectUnsavedError
exception neoads.exception.QueryNotExecuted

Raised when values from a query are requested but the query has not yet been executed.

Note

It is impossible to trigger an automatic query execution because queries have parameters which cannot be known or be passed to __getitem__ on the compositeAbstractObject.