Package java.util

Class DuplicateFormatFlagsException

    • Constructor Detail

      • DuplicateFormatFlagsException

        public DuplicateFormatFlagsException​(String f)
        Constructs a new DuplicateFormatFlagsException with the flags containing duplicates.
        Parameters:
        f - the format flags that contain a duplicate flag.
    • Method Detail

      • getFlags

        public String getFlags()
        Returns the format flags that contain a duplicate flag.
        Returns:
        the format flags that contain a duplicate flag.
      • getMessage

        public String getMessage()
        Description copied from class: Throwable
        Returns the detail message which was provided when this Throwable was created. Returns null if no message was provided at creation time.
        Overrides:
        getMessage in class Throwable