Package cpsc331.collections
Class ElementFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- cpsc331.collections.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.
-