Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-434

Why we need to create an object of ProviderException in GramProvider to handle throw?

    XMLWordPrintableJSON

Details

    • Question
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.11
    • None
    • None

    Description

      Currently we create a object of provider exception and then have a boolean flag to handle the throw. Why not to directly throw exception?

      ProviderException pe = new ProviderException("");

      Any reason of doing this? I would like to clean this up if no objections.

      Attachments

        Activity

          People

            Unassigned Unassigned
            raminder Raminderjeet Singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: