Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-74

Consider Throwable causes when mapping Exception to exit code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.6.0
    • 1.6.1
    • jclouds-cli
    • None

    Description

      Many times callers propagate a checked exception within an unchecked exception, usually via Throwables.propagate. Call getFirstThrowableOfType to map the exit code in this situation.

      Attachments

        Activity

          People

            gaul Andrew Gaul
            gaul Andrew Gaul
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: