Class ElementFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ElementFoundException
    extends java.lang.Exception
    Exception to be thrown if an attempt is made to add an element to a set when this element already belongs to it.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ElementFoundException​(java.lang.String message)
      Constructs an ElementFoundException with the specified message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ElementFoundException

        public ElementFoundException​(java.lang.String message)
        Constructs an ElementFoundException with the specified message.
        Parameters:
        message - Message to report the error that has been identified