Class CodecDecodingException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class CodecDecodingException
    extends java.lang.RuntimeException
    Exception thrown when something goes wrong during decoding.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ContentCodec codec()
      Returns the codec in use when this exception occurred.
      • 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

      • CodecDecodingException

        public CodecDecodingException​(ContentCodec codec,
                                      java.lang.String message)
        New instance.
        Parameters:
        codec - the codec in use.
        message - the reason of this exception.
      • CodecDecodingException

        public CodecDecodingException​(ContentCodec codec,
                                      java.lang.String message,
                                      java.lang.Throwable cause)
        New instance.
        Parameters:
        codec - the codec in use.
        message - the reason of this exception.
        cause - the cause of the exception.
    • Method Detail

      • codec

        public ContentCodec codec()
        Returns the codec in use when this exception occurred.
        Returns:
        the codec in use when this exception occurred.