phoenixnap / springmvc-raml-plugin

Spring MVC - RAML Spec Synchroniser Plugin. A Maven plugin designed to Generate Server & Client code in Spring from a RAML API descriptor and conversely, a RAML API document from the SpringMVC Server implementation.
Apache License 2.0
136 stars 84 forks source link

Add support for controllers to throw exceptions #185

Closed rahulkavale closed 6 years ago

rahulkavale commented 6 years ago
stojsavljevic commented 6 years ago

Why don't you use unchecked (runtime) exceptions?

stojsavljevic commented 6 years ago

As I stated in the comment above, @ExceptionHandler can handle runtime exceptions so I'm not sure why are you referring to @ExceptionHandler feature. Also, in the future please open an issue before creating a PR.

rahulkavale commented 6 years ago

@stojsavljevic Cool, I had already made few changes and wanted to submit it back to community. Thanks for the feedback.