Class EntityExistsException

All Implemented Interfaces:
Serializable

public class EntityExistsException extends DataException
Indicates that an entity cannot be inserted into the database because an entity with same unique identifier already exists in the database.
See Also:
  • Constructor Details

    • EntityExistsException

      public EntityExistsException(String message)
      Constructs a new EntityExistsException with the specified detail message.
      Parameters:
      message - the detail message.
    • EntityExistsException

      public EntityExistsException(String message, Throwable cause)
      Constructs a new EntityExistsException with the specified detail message and cause.
      Parameters:
      message - the detail message.
      cause - another exception or error that caused this exception. Null indicates that no other cause is specified.
    • EntityExistsException

      public EntityExistsException(Throwable cause)
      Constructs a new EntityExistsException with the specified cause.
      Parameters:
      cause - the cause.