CharConversionException (Java SE 10 & JDK 10 )
Keywords: java.io.CharConversionException class

Module java.base
Package java.io

## Class CharConversionException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.io.IOException
      - - java.io.CharConversionException

- All Implemented Interfaces:
    `Serializable`

      public class CharConversionException
      extends IOException

  Base class for character conversion exceptions.
  Since:
    1.1
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CharConversionException()` | This provides no detailed message.
    `CharConversionException​(String s)` | This provides a detailed message.

  - ### Method Summary

    - ### Methods declared in class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods declared in class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

- - ### Constructor Detail

    - #### CharConversionException

          public CharConversionException()

      This provides no detailed message.

    - #### CharConversionException

          public CharConversionException​(String s)

      This provides a detailed message.
      Parameters:
        `s` - the detailed message associated with the exception.