Exceptions: Difference between revisions
From Sunhill Framework Documentation
+ NotAPropertyException |
+ QueryNotWriteableException |
||
Line 19: | Line 19: | ||
<!-- Q --> | <!-- Q --> | ||
{{Exception info|Name=QueryException|Parent=SunhillException|Type=Error|Submodule=Queries|Description=Base for exception that raised by a query}} | {{Exception info|Name=QueryException|Parent=SunhillException|Type=Error|Submodule=Queries|Description=Base for exception that raised by a query}} | ||
{{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=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}} | ||
<!-- W --> | <!-- W --> | ||
{{Exception info|Name=WrongTypeException|Parent= | {{Exception info|Name=WrongTypeException|Parent=QueryException|Type=Error|Submodule=Properties|Description=Is raised when a non matching type was used }} | ||
|} | |} | ||
[[Category:Exceptions]] | [[Category:Exceptions]] |
Revision as of 11:16, 8 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 |
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 |
InvalidParameterException | PropertyException | Error | Properties | Is raised when a property is assigned an invalid parameter |
NotAPropertyException | PropertyException | Error | Properties | an exception that is raised when a function expects an property but something else was passed |
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 |
SunhillException | Exception | Error | A basic exception for all excpetions of the sunhill framework | |
WrongTypeException | QueryException | Error | Properties | Is raised when a non matching type was used |