diff --git a/base/server/src/main/resources/webassets/labs/lab2.html b/base/server/src/main/resources/webassets/labs/lab2.html index 63688aa..83516d0 100644 --- a/base/server/src/main/resources/webassets/labs/lab2.html +++ b/base/server/src/main/resources/webassets/labs/lab2.html @@ -255,7 +255,7 @@
SELECT foo.*, user.user_name FROM foo, user
- The example returns everything from the foo table but only user_name from the foo table.
+ The example returns everything from the foo table but only user_name from the user table.
WHERE clauseDataAccessException (thrown by the database code). The WebApplicationException is built
into JAX-RS and can be used to set a specific error code. You can see this in action by doing a
request to /rest/nothing, Jersey
- will find to find a match for this resource and throw a WebApplicationException with code
+ will fail to find a match for this resource and throw a WebApplicationException with code
404.
Your code can also throw WebApplicationException. An example of this follows, consider
an implementation of the deleteFoo method: