Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-683

AbstractMvcView Not Backwards Compatible With Java 1.4

    XMLWordPrintable

    Details

      Description

      In AbstractMvcView there is use of the IllegalStateException constructor which is only available in java 1.5. The constructor taking Throwable was only added to IllegalStateException as of Java 1.5. In Java 1.4 there are only two constructors, a default and one taking a String.

      Code Snippet lines 121 - 127.

      try {
      doRender(model);
      } catch (IOException e) {
      throw e;
      } catch (Exception e) {
      throw new IllegalStateException("Unexpected exception occurred rendering view " + view, e); //This constructor does not exist in java 1.4.
      }

        Attachments

          Activity

            People

            Assignee:
            kdonald Keith Donald
            Reporter:
            woody992 Stuart Wood
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: