Exceptions: Difference between revisions
From Sunhill Framework Documentation
+ Unit exceptions |
+ Storage exceptions |
||
Line 6: | Line 6: | ||
{{Exception info|Name=CheckException|Parent=SunhillException|Type=Error|Submodule=Checks|Description=An exception that is raised when somethings fails inside a check}} | {{Exception info|Name=CheckException|Parent=SunhillException|Type=Error|Submodule=Checks|Description=An exception that is raised when somethings fails inside a check}} | ||
<!-- F --> | <!-- F --> | ||
{{Exception info|Name=FieldNotAvaiableException|Parent=StorageException|Type=Error|Submodule=Properties|Description=Is raised when a field was required that does not exist.}} | |||
{{Exception info|Name=FilterException|Parent=SunhillException|Type=Error|Submodule=Filters|Description=An exception that is raised when something fails inside a filter}} | {{Exception info|Name=FilterException|Parent=SunhillException|Type=Error|Submodule=Filters|Description=An exception that is raised when something fails inside a filter}} | ||
<!-- I --> | <!-- I --> | ||
Line 26: | Line 27: | ||
{{Exception info|Name=QueryNotWriteableException|Parent=QueryException|Type=Error|Submodule=Queries|Description=Is raised when delete(), update() or insert() is called and query is marked as not writeable}} | {{Exception info|Name=QueryNotWriteableException|Parent=QueryException|Type=Error|Submodule=Queries|Description=Is raised when delete(), update() or insert() is called and query is marked as not writeable}} | ||
<!-- S --> | <!-- S --> | ||
{{Exception info|Name=StorageException|Parent=SunhillException|Type=Error|Submodule=Properties|Description=A basic exception for all excpetions inside storages}} | |||
{{Exception info|Name=SunhillException|Parent=Exception|Type=Error|Submodule=|Description=A basic exception for all excpetions of the sunhill framework}} | {{Exception info|Name=SunhillException|Parent=Exception|Type=Error|Submodule=|Description=A basic exception for all excpetions of the sunhill framework}} | ||
<!-- T --> | <!-- T --> |
Revision as of 15:55, 9 October 2024
A list of all defined exceptions in the sunhill framework. For classes see here.
Name | Parent | Type | Submodule | Description |
---|---|---|---|---|
CheckException | SunhillException | Error | Checks | An exception that is raised when somethings fails inside a check |
FieldNotAvaiableException | StorageException | Error | Properties | Is raised when a field was required that does not exist. |
FilterException | SunhillException | Error | Filters | An exception that is raised when something fails inside a filter |
InvalidNameException | PropertyException | Error | Properties | Is raised when a property is assigned an invalid name |
InvalidOrderException | QueryException | Error | Queries | Is raised when a a wrong order key was used or a wrong order direction was given |
InvalidParameterException | PropertyException | Error | Properties | Is raised when a property is assigned an invalid parameter |
ManagerException | SunhillException | Error | Is raised when an error occurs inside a manager | |
NoResultException | UnexpectedResultCountException | Error | Queries | Is raised when first() is called and no result is returned |
NotAPropertyException | PropertyException | Error | Properties | an exception that is raised when a function expects an property but something else was passed |
PropertiesManagerException | ManagerException | Error | Properties | Is raised when an error occurs inside the properties manager |
PropertyDoesntExistException | PropertyException | Error | Properties | Is raised when a property is called that does not exist |
PropertyException | SunhillException | Error | Properties | A common exception for all property associated exceptions |
PropertyKeyDoesntExistException | PropertyException | Error | Properties | Is raised when a getInfo() is called with a unknown key |
PropertyNotSetException | PropertyException | Error | Properties | The excpetion is raised when an ElementBuilder method is called and no property is set |
QueryException | SunhillException | Error | Queries | Base for exception that raised by a query |
QueryNotWriteableException | QueryException | Error | Queries | Is raised when delete(), update() or insert() is called and query is marked as not writeable |
StorageException | SunhillException | Error | Properties | A basic exception for all excpetions inside storages |
SunhillException | Exception | Error | A basic exception for all excpetions of the sunhill framework | |
TooManyResultsException | UnexpectedResultCountException | Error | Queries | Is raised when the number of result record is to high |
UnexpectedResultCountException | QueryException | Error | Queries | Is raised when the number of result record are not expected (too many or to few) |
UnitNameAlreadyRegisteredException | PropertiesManagerException | Error | Properties | Is raised when a unit is registered and the name is already given |
UnitNotRegisteredException | PropertiesManagerException | Error | Properties | Is raised when a unit is requested that is not registered |
WrongTypeException | QueryException | Error | Properties | Is raised when a non matching type was used |