Class ApiController
java.lang.Object
edu.ucsb.cs156.example.controllers.ApiController
- Direct Known Subclasses:
ArticlesController
,HelpRequestController
,MenuItemReviewController
,RecommendationRequestController
,SystemInfoController
,UCSBDatesController
,UCSBDiningCommonsController
,UCSBDiningCommonsMenuItemController
,UCSBOrganizationsController
,UserInfoController
,UsersController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
genericMessage
(String message) protected CurrentUser
-
Constructor Details
-
ApiController
public ApiController()
-
-
Method Details
-
getCurrentUser
-
genericMessage
-
handleGenericException
@ExceptionHandler(EntityNotFoundException.class) @ResponseStatus(NOT_FOUND) public Object handleGenericException(Throwable e)
-