Package org.bson.codecs.configuration
Class CodecConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bson.codecs.configuration.CodecConfigurationException
- All Implemented Interfaces:
Serializable
An exception indicating that a codec registry has been misconfigured in some way, preventing it from providing a codec for the
requested class.
- Since:
- 3.0
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct a new instance.CodecConfigurationException
(String message, Throwable cause) Construct a new instance and wraps a cause -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CodecConfigurationException
Construct a new instance.- Parameters:
msg
- the message
-
CodecConfigurationException
Construct a new instance and wraps a cause- Parameters:
message
- the messagecause
- the underlying cause- Since:
- 3.5
-