Class DuplicateKeyError

java.lang.Object
java.lang.Throwable
java.lang.Exception
All Implemented Interfaces:
java.io.Serializable

public class DuplicateKeyError
extends KeyConstraintError
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    DuplicateKeyError​(Index<?> index, MongoCollection<?> collection, java.util.List<IndexKey> keys, KeyValue keyValue)  
    DuplicateKeyError​(java.lang.String collectionFullName, java.lang.String message)  
  • Method Summary

    Methods inherited from class de.bwaldvogel.mongo.exception.MongoServerError

    getCode, getCodeName, getMessageWithoutErrorCode

    Methods inherited from class de.bwaldvogel.mongo.exception.MongoServerException

    isLogError, setLogError

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait