Package org.bson
Class BsonMaximumSizeExceededException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.bson.BSONException
-
- org.bson.BsonSerializationException
-
- org.bson.BsonMaximumSizeExceededException
-
- All Implemented Interfaces:
Serializable
public class BsonMaximumSizeExceededException extends BsonSerializationException
An exception indicating a failure to serialize a BSON document due to it exceeding the maximum size.- Since:
- 3.7
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BsonMaximumSizeExceededException(String message)
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
-
BsonMaximumSizeExceededException
public BsonMaximumSizeExceededException(String message)
Construct a new instance.- Parameters:
message
- the message
-
-