Class DuplicateException

java.lang.Object
java.lang.Throwable
java.lang.Exception
it.tidalwave.util.DuplicateException
All Implemented Interfaces:
Serializable

public class DuplicateException extends Exception
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 Details

    • DuplicateException

      public DuplicateException()
      Creates a messageless exception.
    • DuplicateException

      public DuplicateException(@Nonnull String message)
      Creates an exception with a message.
      Parameters:
      message - the message