Name

CoderMalfunctionError

Synopsis

Signals a malfunction—typically an unknown and unrecoverable error—in a CharsetEncoder or CharsetDecoder. An error of this type is thrown by the encode( ) and decode( ) methods when the protected encodeLoop( ) or decodeLoop( ) methods upon which they are implemented throws an exception of an unexpected type.

java.nio.charset.CoderMalfunctionError

Figure 13-49. java.nio.charset.CoderMalfunctionError

public class CoderMalfunctionError extends Error {
// Public Constructors
     public CoderMalfunctionError(Exception cause);  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.