Exceptions

From Sunhill Framework Documentation
Revision as of 17:45, 17 October 2024 by Klaus (talk | contribs) (+StorageTableMissing)

A list of all defined exceptions in the sunhill framework. For classes see here.

Name Parent Type Submodule Exception is raises when ...
CheckException SunhillException Error Checks ... something fails inside a check
FieldNotAvaiableException StorageException Error Properties ... a field was required that does not exist.
FilterException SunhillException Error Filters ... something fails inside a filter
IDNotFoundException StorageException Error Properties ... load() was called with an id that does not exist
InvalidIDException StorageException Error Properties ... load() was called with an invalid id
InvalidIndexException PropertyException Error Properties ... an array was called with a non defined index
InvalidNameException PropertyException Error Properties ... a property is assigned an invalid name
InvalidOrderException QueryException Error Queries ... a a wrong order key was used or a wrong order direction was given
InvalidParameterException PropertyException Error Properties ... a property is assigned an invalid parameter
ManagerException SunhillException Error ... an error occurs inside a manager
NoResultException UnexpectedResultCountException Error Queries ... first() is called and no result is returned
NotAPropertyException PropertyException Error Properties ... a function expects an property but something else was passed
PropertiesManagerException ManagerException Error Properties ... an error occurs inside the properties manager
PropertyDoesntExistException PropertyException Error Properties ... a property is called that does not exist
PropertyException SunhillException Error Properties ... an exception occurs inside a property (common ancestor)
PropertyKeyDoesntExistException PropertyException Error Properties ... a getInfo() is called with a unknown key
PropertyNotSetException PropertyException Error Properties ... an ElementBuilder method is called and no property is set
QueryException SunhillException Error Queries ... something goes wrong in a query (common ancestor)
QueryNotWriteableException QueryException Error Queries ... delete(), update() or insert() is called and query is marked as not writeable
StorageAlreadyLoaded StorageException Error Properties ... load() was called and the storage was already loaded
StorageException SunhillException Error Properties ... excpetion occurs inside a storage (common ancestor)
StorageTableMissingException StorageException Error Properties ... excpetion when a mysql storage expect a table that does not exist.
StructureNeededException StorageException Error Properties ... the structure of the owning property is needed but not provided
SunhillException Exception Error ... exception occurs inside the framework (common ancestor)
TooManyResultsException UnexpectedResultCountException Error Queries ... the number of result record is to high
UnexpectedResultCountException QueryException Error Queries ... the number of result record are not expected (too many or to few)
UninitializedValueException PropertyException Error Properties ... a property value is read that was not initialized
UnitNameAlreadyRegisteredException PropertiesManagerException Error Properties ... a unit is registered and the name is already given
UnitNotRegisteredException PropertiesManagerException Error Properties ... a unit is requested that is not registered
WrongTypeException QueryException Error Properties ... a non matching type was used