CoderMalfunctionError

  • CoderMalfunctionError signals an unexpected exception during character encoding or decoding operations.

  • It's triggered when a CharsetDecoder or CharsetEncoder encounters an issue within its internal decode or encode loop.

  • This error extends the Error class and inherits methods from Throwable and Object.

  • CoderMalfunctionError has a public constructor that accepts the unexpected exception as its cause.

public class CoderMalfunctionError extends Error

Error thrown when the decodeLoop method of a CharsetDecoder, or the encodeLoop method of a CharsetEncoder, throws an unexpected exception.

Public Constructor Summary

CoderMalfunctionError(Exception cause)
Initializes an instance of this class.

Inherited Method Summary

Public Constructors

public CoderMalfunctionError (Exception cause)

Initializes an instance of this class.

Parameters
cause The unexpected exception that was thrown