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
public class CodecConfigurationException extends 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(String msg)
Construct a new instance.CodecConfigurationException(String message, Throwable cause)
Construct a new instance and wraps a cause
-
Method Summary
-
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
-
CodecConfigurationException
public CodecConfigurationException(String msg)
Construct a new instance.- Parameters:
msg
- the message
-
-