Module java.base

Class UnsupportedCharsetException

    • Constructor Detail

      • UnsupportedCharsetException

        public UnsupportedCharsetException​(String charsetName)
        Constructs an instance of this class.
        Parameters:
        charsetName - The name of the unsupported charset
    • Method Detail

      • getCharsetName

        public String getCharsetName()
        Retrieves the name of the unsupported charset.
        Returns:
        The name of the unsupported charset