wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r916418 - /incubator/wink/trunk/wink-common/src/main/resources/org/apache/wink/common/internal/i18n/resource.properties
Date Thu, 25 Feb 2010 19:36:13 GMT
Author: rott
Date: Thu Feb 25 19:36:12 2010
New Revision: 916418

URL: http://svn.apache.org/viewvc?rev=916418&view=rev
Log:
improve error messages

Modified:
    incubator/wink/trunk/wink-common/src/main/resources/org/apache/wink/common/internal/i18n/resource.properties

Modified: incubator/wink/trunk/wink-common/src/main/resources/org/apache/wink/common/internal/i18n/resource.properties
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-common/src/main/resources/org/apache/wink/common/internal/i18n/resource.properties?rev=916418&r1=916417&r2=916418&view=diff
==============================================================================
--- incubator/wink/trunk/wink-common/src/main/resources/org/apache/wink/common/internal/i18n/resource.properties
(original)
+++ incubator/wink/trunk/wink-common/src/main/resources/org/apache/wink/common/internal/i18n/resource.properties
Thu Feb 25 19:36:12 2010
@@ -24,7 +24,7 @@
 classIsUnknownProvider=Annotated @Provider class does not implement a recognized Provider
interface: {}
 isNotAClass={} is not a class or the class has unresolved dependencies. Ignoring.
 isNotAClassWithMsgFormat={0} is not a class or the class has unresolved dependencies. Ignoring.
-resourceClassNotValid=The resource class {} is not a valid resource. Ignoring.
+resourceClassNotValid=The resource class {} is not a valid resource. Ignoring.  Ensure that
it has a javax.ws.rs.Path annotation and is unique.
 classInstantiationException=Failed to instantiate class {}.
 classInstantiationExceptionWithMsgFormat=Failed to instantiate class {0}.
 classIllegalAccess=Illegal access to {}.
@@ -75,7 +75,7 @@
 injectionFailureSingleton=Failed to inject fields of singleton {}
 
 # Asset Provider
-assetLocatorMethodMoreThanOneEntityParam=Asset locator method {} has more than one entity
parameter
+assetLocatorMethodMoreThanOneEntityParam=Asset locator method {} has more than one entity
parameter. Only a single entity parameter is allowed.
 assetMethodInvokeError=Error invoking asset method {} 
 assetMustHavePublicConstructor=Failed to instantiate asset {}. Assets must have a default
public contructor.
 assetCannotInstantiate=Cannot instantiate asset {}
@@ -102,7 +102,7 @@
 jaxbCreateDefaultJAXBElement=Creating default JAXBElement for {}
 
 # Failure Messages
-mediaTypeWrongFormat=Wrong MediaType format for MediaType: %1$s
+mediaTypeWrongFormat=%1$s is an invalid MediaType format.  Verify that the format is like
"type/subtype".
 methodDoesNotHandleType=Method doesn't handle {}
 unhandledExceptionToContainer=Unhandled exception
 exceptionOccurredDuringInvocation=%s occured during the handlers chain invocation



Mime
View raw message