You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.
Grails controllers support a simple mechanism for declarative exception handling. If a controller declares a method that accepts a single argument and the argument type is java.lang.Exception or some subclass of java.lang.Exception, that method will be invoked any time an action in that controller throws an exception of that type.
I have just created a Grails application without the kickstart plugin and followed the instructions from Grails 2.3.11, that is my project's Grails version, and everything goes OK. Why when i have just installed the kickstart plugin this feature of handling Custom Exceptions does not works anymore?
I created a project in Github with an example (commit:65f6d79 -> actual commit and commit: 94a138b -> without kickstart plugin):
github link: https://github.com/cerberous/exception-handler-nokickstart
Can anybody help me?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
cristianchies
changed the title
Controller not handleing Custom exceptions
Controller not handling Custom exceptions
Sep 16, 2014
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Grails controllers support a simple mechanism for declarative exception handling. If a controller declares a method that accepts a single argument and the argument type is java.lang.Exception or some subclass of java.lang.Exception, that method will be invoked any time an action in that controller throws an exception of that type.
I have just created a Grails application without the kickstart plugin and followed the instructions from Grails 2.3.11, that is my project's Grails version, and everything goes OK. Why when i have just installed the kickstart plugin this feature of handling Custom Exceptions does not works anymore?
I created a project in Github with an example (commit:65f6d79 -> actual commit and commit: 94a138b -> without kickstart plugin):
github link: https://github.com/cerberous/exception-handler-nokickstart
Can anybody help me?
Thanks in advance!
The text was updated successfully, but these errors were encountered: