Class InvalidTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidTypeException
    extends DriverException
    Thrown when a TypeCodec is unable to perform the requested operation (serialization, deserialization, parsing or formatting) because the object or the byte buffer content being processed does not comply with the expected Java and/or CQL type.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidTypeException

        public InvalidTypeException​(java.lang.String msg)
      • InvalidTypeException

        public InvalidTypeException​(java.lang.String msg,
                                    java.lang.Throwable cause)