Exceptions
jOOPL has some built-in exception types. Since JavaScript can throw practically anything with its throw statement, jOOPL has its own exception classes with their own properties.
These are the built-in exception types used across jOOPL infrastructure:
- ExceptionBase
- Description: Represents the base class for any exception.
- Members:
- Constructor
- Parameters:
- message: A text with a human-readable explanation of what caused the exception.
- innerException: An exception object that represents some thrown prior to current one.
- get_Message
- Description: Gets the human-readable explanation of what caused this exception.
- set_Message
- Description: Sets the human-readable explanation of what caused this exception.
- NotClassException
- Description: Represents an exception thrown when some object validation finds that some argument is not of class kind.
- Inherits: ExceptionBase
- NotInterfaceException
- Description: Represents an exception thrown when some object validation finds that some argument is not of interface kind.
- Inherits: ExceptionBase
- ArgumentNullException
- Description: Represents an exception thrown when some argument for some property or method is null, while it was expected to have a reference to some object.
- Parameters:
- argName: The affected argument name.
- Members:
- get_ArgName
- Description: Gets the affected argument name by this exception.
- set_ArgName:
- Description: Sets the affected argument name by this exception.
- Inherits: ExceptionBase
- NotImplementedException
- Description: Represents an exception thrown when some member of some base class or interface is not implemented.
- Parameters:
- memberName: The affected member name.
- Members:
- get_MemberName
- Description: Gets the affected member name by this exception.
- set_MemberName:
- Description: Sets the affected member name by this exception.
- Inherits: ExceptionBase