Package de.bwaldvogel.mongo.exception
Class MongoServerError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.bwaldvogel.mongo.exception.MongoServerException
de.bwaldvogel.mongo.exception.MongoServerError
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BadValueException,ConflictingUpdateOperatorsException,CursorNotFoundException,DollarPrefixedFieldNameException,FailedToOptimizePipelineError,FailedToParseException,ImmutableFieldException,IndexNotFoundException,IndexOptionsConflictException,InvalidOptionsException,KeyConstraintError,NamespaceExistsException,NoReplicationEnabledException,NoSuchCommandException,PathNotViableException,TypeMismatchException,UnsupportedConversionError
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMongoServerError(int errorCode, String message) MongoServerError(int errorCode, String codeName, String message) MongoServerError(ErrorCode errorCode, String message) -
Method Summary
Methods inherited from class de.bwaldvogel.mongo.exception.MongoServerException
isLogError, setLogErrorMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MongoServerError
-
MongoServerError
-
MongoServerError
-
-
Method Details
-
getCode
public int getCode() -
getCodeName
-
getMessageWithoutErrorCode
- Overrides:
getMessageWithoutErrorCodein classMongoServerException
-