Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-113

Check whether ISE/IAE are being used appropriately

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Discussion, 1.x
    • Component/s: None
    • Labels:
      None

      Description

      The code throws a lot of IllegalStateExceptions (ISE).
      It also throws some IllegalArgumentExceptions (IAE).

      These need reviewing to check that ISE really does apply to the current state, and IAE is used for reporting an incorrect argument.

      Generally if ISE applies, no argument values will be valid.
      IAE should be used when a specific argument or set of arguments is invalid.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sebb@apache.org Sebb
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: