It's not working in the exception_handling example as well:
http://localhost:8080/exception_handling/actionspecificexception.action


Am 23.09.2014 um 13:38 schrieb Volker Krebs:
Found another strange behaviour with 2.3.18

I have defined an exception mapping like this:
<action name="workdeskCheckIn"
class="shopfloor.pdc.workdeskCheckIn.action" method="checkInToWorkdesk">
   <exception-mapping exception="services.NotFoundException"
result="error" />
   <result name="success">success.jsp</result>
   <result name="error">error.jsp</result>
</action>

When checkInToWorkdesk throws an NotFoundException I'll get the
following Error:

Exception1: Method "checkInToWorkdesk" failed for object
shopfloor.pdc.WorkdeskCheckIn@72916b9a
Exception Class: class ognl.MethodFailedException
    ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1305)
    ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)

com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:117)


com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:108)

    ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1369)
Exception2: null
Exception Class: class services.NotFound

I'll try to confirm this with exception_handling example on
git://git.apache.org/struts-examples.git


Am 22.09.2014 um 23:01 schrieb Lukasz Lenart:
Finally I was able redeploy new artifacts - you can test them again :-)

2014-09-22 8:58 GMT+02:00 Lukasz Lenart <lukaszlen...@apache.org>:
2014-09-22 8:55 GMT+02:00 Greg Huber <gregh3...@gmail.com>:
..The reason for message:  The following artifacts could not be
resolved:
org.apache.struts:struts2-core:jar:2.3.18... ?

at

https://repository.apache.org/content/groups/staging/

Just dropped them and preparing new build...


Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to