Repository: incubator-stratos
Updated Branches:
  refs/heads/master ac6d6e73c -> 33e36eb0b


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/33e36eb0/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/cxf-servlet.xml
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/cxf-servlet.xml
 
b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/cxf-servlet.xml
index 63adc2d..e4566a3 100644
--- 
a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/cxf-servlet.xml
+++ 
b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/cxf-servlet.xml
@@ -29,8 +29,12 @@
         <jaxrs:serviceBeans>
             <ref bean="stratosRestEndpointTestBean"/>
         </jaxrs:serviceBeans>
+
+        <jaxrs:providers>
+            <ref bean="exceptionHandler"/>
+        </jaxrs:providers>
     </jaxrs:server>
 
     <bean id="stratosRestEndpointTestBean" 
class="org.apache.stratos.rest.endpoint.mock.StratosTestAdmin"/>
-
+    <bean id="exceptionHandler" 
class="org.apache.stratos.rest.endpoint.handlers.CustomExceptionMapper"/>
 </beans>

Reply via email to