Package org.craftercms.commons.mongo
Class DuplicateKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.craftercms.commons.mongo.MongoDataException
org.craftercms.commons.mongo.DuplicateKeyException
- All Implemented Interfaces:
Serializable
Mongo exception thrown when a document can't be inserted because there's already a document with the same key.
- Author:
- avasquez
- See Also:
-
Constructor Summary
ConstructorDescriptionDuplicateKeyException
(String message) DuplicateKeyException
(String message, Throwable cause) DuplicateKeyException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) DuplicateKeyException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DuplicateKeyException
public DuplicateKeyException() -
DuplicateKeyException
-
DuplicateKeyException
-
DuplicateKeyException
-
DuplicateKeyException
-