Class EntityExistsException

All Implemented Interfaces:
Serializable

public class EntityExistsException extends DataException
Thrown when persistence entity being inserted already exists.
See Also:
  • Constructor Details

    • EntityExistsException

      public EntityExistsException(String message)
      Creates a new EntityExistsException with the supplied detail message.
      Parameters:
      message - descriptive message, shall not be null
      Throws:
      NullPointerException - when message is null
    • EntityExistsException

      public EntityExistsException(String message, Throwable cause)
      Creates a new EntityExistsException with the supplied detail message and cause.
      Parameters:
      message - descriptive message, shall not be null
      cause - original throwable causing this exception, shall not be null
      Throws:
      NullPointerException - when message or cause is null