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:
  • Constructor Details

    • CodecConfigurationException

      public CodecConfigurationException(String msg)
      Construct a new instance.
      Parameters:
      msg - the message
    • CodecConfigurationException

      public CodecConfigurationException(String message, Throwable cause)
      Construct a new instance and wraps a cause
      Parameters:
      message - the message
      cause - the underlying cause
      Since:
      3.5