Package jade

Class JadeEmptyPairException

All Implemented Interfaces:
Serializable

public class JadeEmptyPairException extends JadeException
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 Details

    • JadeEmptyPairException

      public JadeEmptyPairException()
      Simple JadeEmptyPairException where it is initialises its superclass with a generic message.
    • JadeEmptyPairException

      public JadeEmptyPairException(String errorMessage)
      Simple JadeEmptyPairException where it is initialises its superclass with a specialised message.
      Parameters:
      errorMessage - error message