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
public class DuplicateKeyException extends MongoDataException
Mongo exception thrown when a document can't be inserted because there's already a document with the same key.- Author:
- avasquez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateKeyException()
DuplicateKeyException(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
-
-