Package it.tidalwave.util
Class DuplicateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.tidalwave.util.DuplicateException
- All Implemented Interfaces:
Serializable
Notifies that the current operation failed because it would create an illegal duplication (of objects, of ids,
etc...)
- Author:
- Fabrizio Giudici
- See Also:
- Status: stable API
-
Constructor Summary
ConstructorDescriptionCreates a messageless exception.DuplicateException
(String message) Creates an exception with a 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
-
DuplicateException
public DuplicateException()Creates a messageless exception. -
DuplicateException
Creates an exception with a message.- Parameters:
message
- the message
-