Class ResourceAlreadyExistsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.dspace.app.exception.ResourceAlreadyExistsException
All Implemented Interfaces:
Serializable

public class ResourceAlreadyExistsException extends RuntimeException
This class provides an exception to be used when trying to save a resource that already exists.
Author:
Luca Giamminonni (luca.giamminonni at 4science.it)
See Also:
  • Constructor Details

    • ResourceAlreadyExistsException

      public ResourceAlreadyExistsException(String message)
      Create a ResourceAlreadyExistsException with a message and the already existing resource.
      Parameters:
      message - the error message