Package jade
Class JadeEmptyPairException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jade.JadeException
jade.JadeEmptyPairException
- All Implemented Interfaces:
Serializable
The JadeEmptyPairException is used in the case of a method being used on an empty JadePair.
This helps understand better what error has occurred over using a generic Exception.
- Since:
- 2023
- See Also:
-
Constructor Summary
ConstructorDescriptionSimple JadeEmptyPairException where it is initialises its superclass with a generic message.JadeEmptyPairException
(String errorMessage) Simple JadeEmptyPairException 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
-
JadeEmptyPairException
public JadeEmptyPairException()Simple JadeEmptyPairException where it is initialises its superclass with a generic message. -
JadeEmptyPairException
Simple JadeEmptyPairException where it is initialises its superclass with a specialised message.- Parameters:
errorMessage
- error message
-