- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.annot8.api.exceptions.Annot8RuntimeException
-
- io.annot8.api.exceptions.AlreadyExistsException
-
- All Implemented Interfaces:
Serializable
public class AlreadyExistsException extends Annot8RuntimeException
Exception indicating that an attempt has been made to createContent something that already exists, i.e. has the same ID.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlreadyExistsException(String message)Create an exception with the given messageAlreadyExistsException(String message, Throwable t)Create an exception with the given message and a root cause
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AlreadyExistsException
public AlreadyExistsException(String message)
Create an exception with the given message- Parameters:
message- the message for info
-
-