Class CodecException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DecodingException, EncodingException

public class CodecException extends NestedRuntimeException
General error that indicates a problem while encoding and decoding to and from an Object stream.
Since:
5.0
Author:
Sebastien Deleuze, Rossen Stoyanchev
See Also:
  • Constructor Details

    • CodecException

      public CodecException(String msg)
      Create a new CodecException.
      Parameters:
      msg - the detail message
    • CodecException

      public CodecException(String msg, @Nullable Throwable cause)
      Create a new CodecException.
      Parameters:
      msg - the detail message
      cause - root cause for the exception, if any