Exceptions

From Sunhill Framework Documentation
Revision as of 06:16, 9 October 2024 by Klaus (talk | contribs) (+ Unit exceptions)

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
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
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