Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to store custom exception classes in a Grails project?

Tags:

grails

Where it is supposed to put custom exception classes in Grails? IMO, they are not domain classes and they are not utils.

Should I/can I create a new folder exceptions under grails-app?

like image 671
Roman Avatar asked Jul 10 '12 19:07

Roman


1 Answers

Put them under src/groovy (if they are groovy classes) and src/java (if they are java classes).

like image 118
Gregg Avatar answered Nov 15 '22 12:11

Gregg