Package su.onno.ui
Class ActionRejectedExceptionHandler
java.lang.Object
su.onno.ui.ActionRejectedExceptionHandler
Maps expected action business-rule rejections to the typed HTTP 422 wire contract.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ActionFeedback> handle(ActionRejectedException exception)
-
Constructor Details
-
ActionRejectedExceptionHandler
public ActionRejectedExceptionHandler()
-
-
Method Details
-
handle
@ExceptionHandler(ActionRejectedException.class) public org.springframework.http.ResponseEntity<ActionFeedback> handle(ActionRejectedException exception)
-