Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. package ee.taltech.twentyonebackend.exception;
  2.  
  3. import org.springframework.http.HttpStatus;
  4. import org.springframework.web.bind.annotation.ResponseStatus;
  5.  
  6. @ResponseStatus(code = HttpStatus.BAD_REQUEST, reason = "User Validation Failed")
  7. public class ValidationException extends RuntimeException {
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement