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

Controller not handling Custom exceptions #94

Description

@cristianchies

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions