Package org.bson
Class BsonInvalidOperationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.bson.BSONException
-
- org.bson.BsonInvalidOperationException
-
- All Implemented Interfaces:
Serializable
public class BsonInvalidOperationException extends BSONException
An exception indicating an invalid BSON operation.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BsonInvalidOperationException(String message)
Construct a new instance.BsonInvalidOperationException(String message, Throwable t)
Construct a new instance.
-
Method Summary
-
Methods inherited from class org.bson.BSONException
getErrorCode, hasErrorCode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BsonInvalidOperationException
public BsonInvalidOperationException(String message)
Construct a new instance.- Parameters:
message
- the message
-
-