CharConversionException

  • CharConversionException is a subclass of IOException and signals errors during character conversion.

  • It has two constructors: one with a detailed message and one without.

  • This exception inherits methods from Throwable for stack trace and error handling.

  • CharConversionException is typically thrown when a character cannot be converted to a specific encoding or format.

public class CharConversionException extends IOException

Base class for character conversion exceptions.

Public Constructor Summary

CharConversionException()
This provides no detailed message.
CharConversionException(String s)
This provides a detailed message.

Inherited Method Summary

Public Constructors

public CharConversionException ()

This provides no detailed message.

public CharConversionException (String s)

This provides a detailed message.

Parameters
s the detailed message associated with the exception.