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
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceAlreadyExistsException(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 Detail
-
ResourceAlreadyExistsException
public ResourceAlreadyExistsException(String message)
Create a ResourceAlreadyExistsException with a message and the already existing resource.- Parameters:
message- the error message
-
-