Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract class AbstractResourceNotFoundException extends ResourceNotFoundException {
- private static final long serialVersionUID = -3959094123571588527L;
- public AbstractResourceNotFoundException(String simpleName, UUID uid) {
- super(String.format("Could not find %s with id %s", simpleName, uid));
- }
- public AbstractResourceNotFoundException(String simpleName, String code) {
- super(String.format("Could not find %s with code %s", simpleName, code));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement