Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8205613

(cs) MalformedInputException and UnmappableCharacterException need offset value

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • None
    • None
    • core-libs
    • None

    Description

      Consider improving the error message with an additional parameter to capture the information about where the error happens, e.g.:

      MalformedInputException(int inputLength, int offset)
      UnmappableCharacterException(int inputLength, int offset)

      Attachments

        Issue Links

          Activity

            People

              naoto Naoto Sato
              joehw Joe Wang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: