Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1530

Implement toString method in ResourceLocator

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 3.1.0.Final, 3.0.20.Final
    • 3.0.19.Final
    • jaxrs
    • None

      When injecting method parameters fails in org.jboss.resteasy.core.MethodInjectorImpl#injectArguments because of an exception thrown by some ParameterConverter an error message is generated that should contain the method the injection failed for. The message is created by calling method.toString() which just returns the default toString from java.lang.Object. The message would be much more helpful when the toString method would be overridden in org.jboss.resteasy.spi.metadata.ResourceLocator.

              rsearls r searls
              christopher.merkel Christopher Merkel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: