Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-582

Enhancement of exception message in WebExternalResourceStream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.3.0-beta2
    • wicket
    • None

    Description

      Enhancement of exception message in WebExternalResourceStream

      Index: wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/resource/WebExternalResourceStream.java
      ===================================================================
      — wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/resource/WebExternalResourceStream.java (revision 540127)
      +++ wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/util/resource/WebExternalResourceStream.java (working copy)
      @@ -96,7 +96,7 @@
      in = context.getResourceAsStream(url);
      if (in == null)

      { - throw new WicketRuntimeException("the requested resource was not found"); + throw new WicketRuntimeException("the requested resource '" + url + "' was not found"); }

      return in;
      }

      Attachments

        Activity

          People

            almaw Alastair Maw
            funkattack Martin Funk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: