Guest User

Untitled

a guest
Jun 24th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. throw new CustomGlobalException(HttpStatus.UNAUTHORISED, "This JWT Token is not Authorised.")
  2.  
  3. throw new CustomGlobalException(HttpStatus.FORBIDDEN, "This JWT Token is not valid.")
  4.  
  5. {
  6. "success" : "false",
  7. "message" : "This JWT Token is not Authorised."
  8. }
Add Comment
Please, Sign In to add comment