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:
java.io.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(java.lang.String message)
Construct a new instance.BsonInvalidOperationException(java.lang.String message, java.lang.Throwable t)
Construct a new instance.
-
Method Summary
-
Methods inherited from class org.bson.BSONException
getErrorCode, hasErrorCode
-
-
-
-
Constructor Detail
-
BsonInvalidOperationException
public BsonInvalidOperationException(java.lang.String message)
Construct a new instance.- Parameters:
message
- the message
-
BsonInvalidOperationException
public BsonInvalidOperationException(java.lang.String message, java.lang.Throwable t)
Construct a new instance.- Parameters:
message
- the messaget
- the throwable cause.- Since:
- 3.5
-
-