Module java.base
Package java.util

Class IllegalFormatCodePointException

    • Constructor Detail

      • IllegalFormatCodePointException

        public IllegalFormatCodePointException​(int c)
        Constructs an instance of this class with the specified illegal code point as defined by Character.isValidCodePoint(int).
        Parameters:
        c - The illegal Unicode code point
    • Method Detail

      • getCodePoint

        public int getCodePoint​()
        Returns the illegal code point as defined by Character.isValidCodePoint(int).
        Returns:
        The illegal Unicode code point
      • getMessage

        public String getMessage​()
        Description copied from class: Throwable
        Returns the detail message string of this throwable.
        Overrides:
        getMessage in class Throwable
        Returns:
        the detail message string of this Throwable instance (which may be null).