Package org.bson
Class BsonSerializationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.bson.BSONException
-
- org.bson.BsonSerializationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BsonMaximumSizeExceededException
public class BsonSerializationException extends BSONException
An exception indicating a failure to serialize a BSON value.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BsonSerializationException(String message)
Construct a new instance.
-
Method Summary
-
Methods inherited from class org.bson.BSONException
getErrorCode, hasErrorCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BsonSerializationException
public BsonSerializationException(String message)
Construct a new instance.- Parameters:
message
- the message
-
-