We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code should be:
package bookmarks;
import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.NOT_FOUND) class UserNotFoundException extends RuntimeException {
public UserNotFoundException(String userId) { super("could not find user '" + userId + "'."); }
}
The text was updated successfully, but these errors were encountered:
This tutorial was completely rewritten as of 63d3937.
I suggest you read it from the top and be sure to let us know if you spot any issues!
Sorry, something went wrong.
No branches or pull requests
The code should be:
package bookmarks;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.NOT_FOUND)
class UserNotFoundException extends RuntimeException {
}
The text was updated successfully, but these errors were encountered: