Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. public abstract class AbstractResourceNotFoundException extends ResourceNotFoundException {
  2.  
  3. private static final long serialVersionUID = -3959094123571588527L;
  4.  
  5. public AbstractResourceNotFoundException(String simpleName, UUID uid) {
  6. super(String.format("Could not find %s with id %s", simpleName, uid));
  7. }
  8.  
  9. public AbstractResourceNotFoundException(String simpleName, String code) {
  10. super(String.format("Could not find %s with code %s", simpleName, code));
  11. }
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement