Skip to content
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.

Controller not handling Custom exceptions #94

Open
cristianchies opened this issue Sep 16, 2014 · 0 comments
Open

Controller not handling Custom exceptions #94

cristianchies opened this issue Sep 16, 2014 · 0 comments

Comments

@cristianchies
Copy link

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!

@cristianchies cristianchies changed the title Controller not handleing Custom exceptions Controller not handling Custom exceptions Sep 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant