Class HappierCowsControllerAdvice
java.lang.Object
edu.ucsb.cs156.happiercows.advice.HappierCowsControllerAdvice
This class handles exceptions thrown by the controllers.
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
HappierCowsControllerAdvice
public HappierCowsControllerAdvice() 
 - 
 - 
Method Details
- 
handleIllegalArgumentException
@ExceptionHandler(java.lang.IllegalArgumentException.class) @ResponseStatus(BAD_REQUEST) public void handleIllegalArgumentException() 
 -