You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Funk (JIRA)" <ji...@apache.org> on 2007/05/21 16:17:16 UTC

[jira] Created: (WICKET-582) Enhancement of exception message in WebExternalResourceStream

Enhancement of exception message in WebExternalResourceStream
-------------------------------------------------------------

                 Key: WICKET-582
                 URL: https://issues.apache.org/jira/browse/WICKET-582
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
            Reporter: Martin Funk
            Priority: Trivial


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;
 	}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-582) Enhancement of exception message in WebExternalResourceStream

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw resolved WICKET-582.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.0-beta2
         Assignee: Alastair Maw

Fixed in r545953.

> Enhancement of exception message in WebExternalResourceStream
> -------------------------------------------------------------
>
>                 Key: WICKET-582
>                 URL: https://issues.apache.org/jira/browse/WICKET-582
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>            Reporter: Martin Funk
>            Assignee: Alastair Maw
>            Priority: Trivial
>             Fix For: 1.3.0-beta2
>
>
> 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;
>  	}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.