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:
java.io.Serializable
public class CodecConfigurationException extends java.lang.RuntimeException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CodecConfigurationException(java.lang.String msg)
Construct a new instance.CodecConfigurationException(java.lang.String message, java.lang.Throwable cause)
Construct a new instance and wraps a cause
-
-
-
Constructor Detail
-
CodecConfigurationException
public CodecConfigurationException(java.lang.String msg)
Construct a new instance.- Parameters:
msg
- the message
-
CodecConfigurationException
public CodecConfigurationException(java.lang.String message, java.lang.Throwable cause)
Construct a new instance and wraps a cause- Parameters:
message
- the messagecause
- the underlying cause- Since:
- 3.5
-
-