Exceptions: Difference between revisions

From Sunhill Framework Documentation
+InvalidParameterException
+ NotAPropertyException
Line 10: Line 10:
{{Exception info|Name=InvalidNameException|Parent=PropertyException|Type=Error|Submodule=Properties|Description=Is raised when a property is assigned an invalid name}}
{{Exception info|Name=InvalidNameException|Parent=PropertyException|Type=Error|Submodule=Properties|Description=Is raised when a property is assigned an invalid name}}
{{Exception info|Name=InvalidParameterException|Parent=PropertyException|Type=Error|Submodule=Properties|Description=Is raised when a property is assigned an invalid parameter}}
{{Exception info|Name=InvalidParameterException|Parent=PropertyException|Type=Error|Submodule=Properties|Description=Is raised when a property is assigned an invalid parameter}}
<!-- N -->
{{Exception info|Name=NotAPropertyException|Parent=PropertyException|Type=Error|Submodule=Properties|Description=an exception that is raised when a function expects an property but something else was passed}}
<!-- P -->
<!-- P -->
{{Exception info|Name=PropertyDoesntExistException|Parent=PropertyException|Type=Error|Submodule=Properties|Description=Is raised when a property is called that does not exist}}
{{Exception info|Name=PropertyDoesntExistException|Parent=PropertyException|Type=Error|Submodule=Properties|Description=Is raised when a property is called that does not exist}}

Revision as of 08:12, 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
SunhillException Exception Error A basic exception for all excpetions of the sunhill framework
WrongTypeException PropertyException Error Properties Is raised when