Package org.dspace.app.exception
Class ResourceAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.dspace.app.exception.ResourceAlreadyExistsException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionResourceAlreadyExistsException(String message) Create a ResourceAlreadyExistsException with a message and the already existing resource. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceAlreadyExistsException
Create a ResourceAlreadyExistsException with a message and the already existing resource.- Parameters:
message- the error message
-