joergrech / KickstartWithBootstrap

Kickstart is an extension for Grails in order to start your project with a good looking frontend. It is intended to be used in rapid application scenarios such as a Startup Weekend or a prototyping session with a customer. This plugin provides adapted scaffolding templates for standard CRUD pages using Twitter's CSS Framework Bootstrap and offers some basic pages for a web site.
65 stars 52 forks source link

Controller not handling Custom exceptions #94

Open cristianchies opened 10 years ago

cristianchies commented 10 years ago

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!