Package jade
Class JadeEmptyObjectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jade.JadeException
jade.JadeEmptyObjectException
- All Implemented Interfaces:
Serializable
The JadeEmptyObjectException is used in the case of a method being used on an empty JadeObject.
This helps understand better what error has occurred over using a generic Exception.
- Since:
- 2023
- See Also:
-
Constructor Summary
ConstructorDescriptionSimple JadeEmptyObjectException where it is initialises its superclass with a generic message.JadeEmptyObjectException
(String errorMessage) Simple JadeEmptyObjectException where it is initialises its superclass with a specialised message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JadeEmptyObjectException
public JadeEmptyObjectException()Simple JadeEmptyObjectException where it is initialises its superclass with a generic message. -
JadeEmptyObjectException
Simple JadeEmptyObjectException where it is initialises its superclass with a specialised message.- Parameters:
errorMessage
- error message
-