Class AlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.gustavblass.commons.exceptions.IllegalArgumentException
de.gustavblass.fsu.fmi.roombooking.exceptions.AlreadyExistsException
- All Implemented Interfaces:
Serializable
@ResponseStatus(value=BAD_REQUEST,
reason="The given resource could not be created because it already exists.")
public class AlreadyExistsException
extends de.gustavblass.commons.exceptions.IllegalArgumentException
Indicates that a certain resource whose creation was requested does already exist and can therefore not be
created (again).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSeeException().AlreadyExistsException(String message) SeeException(String).AlreadyExistsException(String message, Throwable cause) AlreadyExistsException(Throwable cause) SeeException(Throwable). -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AlreadyExistsException
public AlreadyExistsException()SeeException(). -
AlreadyExistsException
SeeException(String). -
AlreadyExistsException
-
AlreadyExistsException
SeeException(Throwable).
-