Exceptions: Difference between revisions
From Sunhill Framework Documentation
+StorageTableMissing |
+property manager exceptions |
||
Line 8: | Line 8: | ||
{{Exception info|Name=FieldNotAvaiableException|Parent=StorageException|Type=Error|Submodule=Properties|Description=... a field was required that does not exist.}} | {{Exception info|Name=FieldNotAvaiableException|Parent=StorageException|Type=Error|Submodule=Properties|Description=... a field was required that does not exist.}} | ||
{{Exception info|Name=FilterException|Parent=SunhillException|Type=Error|Submodule=Filters|Description=... something fails inside a filter}} | {{Exception info|Name=FilterException|Parent=SunhillException|Type=Error|Submodule=Filters|Description=... something fails inside a filter}} | ||
<!-- G --> | |||
{{Exception info|Name=GivenClassNotAProperty|Parent=PropertiesManagerException|Type=Error|Submodule=Properties|Description=... registerProperty() is called with a non property class}} | |||
<!-- I --> | <!-- I --> | ||
{{Exception info|Name=IDNotFoundException|Parent=StorageException|Type=Error|Submodule=Properties|Description=... load() was called with an id that does not exist}} | {{Exception info|Name=IDNotFoundException|Parent=StorageException|Type=Error|Submodule=Properties|Description=... load() was called with an id that does not exist}} | ||
Line 22: | Line 24: | ||
<!-- P --> | <!-- P --> | ||
{{Exception info|Name=PropertiesManagerException|Parent=ManagerException|Type=Error|Submodule=Properties|Description=... an error occurs inside the properties manager}} | {{Exception info|Name=PropertiesManagerException|Parent=ManagerException|Type=Error|Submodule=Properties|Description=... an error occurs inside the properties manager}} | ||
{{Exception info|Name=PropertyClassDoesntExistException|Parent=PropertiesManagerException|Type=Error|Submodule=Properties|Description=... registerProperty() is called with an unacessible property class}} | |||
{{Exception info|Name=PropertyNameAlreadyRegisteredException|Parent=PropertiesManagerException|Type=Error|Submodule=Properties|Description=... registerProperty() is called with a property class that is already registered}} | |||
{{Exception info|Name=PropertyNotRegisteredException|Parent=PropertiesManagerException|Type=Error|Submodule=Properties|Description=... a property manager function is called with an unknown property}} | |||
{{Exception info|Name=PropertyDoesntExistException|Parent=PropertyException|Type=Error|Submodule=Properties|Description=... a property is called that does not exist}} | {{Exception info|Name=PropertyDoesntExistException|Parent=PropertyException|Type=Error|Submodule=Properties|Description=... a property is called that does not exist}} | ||
{{Exception info|Name=PropertyException|Parent=SunhillException|Type=Error|Submodule=Properties|Description=... an exception occurs inside a property (common ancestor)}} | {{Exception info|Name=PropertyException|Parent=SunhillException|Type=Error|Submodule=Properties|Description=... an exception occurs inside a property (common ancestor)}} |
Latest revision as of 17:05, 22 October 2024
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 |
GivenClassNotAProperty | PropertiesManagerException | Error | Properties | ... registerProperty() is called with a non property class |
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 |
PropertyClassDoesntExistException | PropertiesManagerException | Error | Properties | ... registerProperty() is called with an unacessible property class |
PropertyNameAlreadyRegisteredException | PropertiesManagerException | Error | Properties | ... registerProperty() is called with a property class that is already registered |
PropertyNotRegisteredException | PropertiesManagerException | Error | Properties | ... a property manager function is called with an unknown property |
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 |