KickstartWithBootstrap icon indicating copy to clipboard operation
KickstartWithBootstrap copied to clipboard

Controller not handling Custom exceptions

Open cristianchies opened this issue 10 years ago • 0 comments

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 avatar Sep 16 '14 04:09 cristianchies