Author: chris.laprun(a)jboss.com
Date: 2010-10-13 15:50:57 -0400 (Wed, 13 Oct 2010)
New Revision: 4661
Modified:
components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/WSRPResourceURL.java
Log:
- Fixed improper grammar.
Modified: components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/WSRPResourceURL.java
===================================================================
---
components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/WSRPResourceURL.java 2010-10-13
18:43:42 UTC (rev 4660)
+++
components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/WSRPResourceURL.java 2010-10-13
19:50:57 UTC (rev 4661)
@@ -151,7 +151,7 @@
// we either need a resource Id or (requiredRewrite and url)
if (resourceIDParam == null && (requireRewrite == null || url == null))
{
- throw new IllegalArgumentException("The parsed parameters don't are not
valid for a resource url. It must contain either a "
+ throw new IllegalArgumentException("The parsed parameters are not valid for
a resource url. A resource URL must contain either a "
+ WSRP2RewritingConstants.RESOURCE_ID + " or " +
WSRPRewritingConstants.RESOURCE_URL + " and " +
WSRPRewritingConstants.RESOURCE_REQUIRES_REWRITE + " parameter in " +
originalURL);
}
Show replies by date