[exo-jcr-commits] exo-jcr SVN: r132 - ws/trunk/rest/core/src/main/java/org/exoplatform/services/rest/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Sep 3 04:14:09 EDT 2009


Author: aparfonov
Date: 2009-09-03 04:14:09 -0400 (Thu, 03 Sep 2009)
New Revision: 132

Modified:
   ws/trunk/rest/core/src/main/java/org/exoplatform/services/rest/impl/ConstructorDescriptorImpl.java
Log:
EXOJCR-130 : Add log.error

Modified: ws/trunk/rest/core/src/main/java/org/exoplatform/services/rest/impl/ConstructorDescriptorImpl.java
===================================================================
--- ws/trunk/rest/core/src/main/java/org/exoplatform/services/rest/impl/ConstructorDescriptorImpl.java	2009-09-03 06:34:16 UTC (rev 131)
+++ ws/trunk/rest/core/src/main/java/org/exoplatform/services/rest/impl/ConstructorDescriptorImpl.java	2009-09-03 08:14:09 UTC (rev 132)
@@ -251,6 +251,7 @@
                String msg =
                   "Can't instantiate resource " + resourceClass + " by using constructor " + this
                      + ". Not found parameter " + cp;
+               LOG.error(msg);
                throw new WebApplicationException(Response.status(Response.Status.INTERNAL_SERVER_ERROR).entity(msg)
                   .type(MediaType.TEXT_PLAIN).build());
             }



More information about the exo-jcr-commits mailing list