Javadoc for exception

svn path=/trunk/; revision=334
diff --git a/src/jsr311-api/src/javax/ws/rs/core/Cookie.java b/src/jsr311-api/src/javax/ws/rs/core/Cookie.java
index 7b7b947..20be863 100644
--- a/src/jsr311-api/src/javax/ws/rs/core/Cookie.java
+++ b/src/jsr311-api/src/javax/ws/rs/core/Cookie.java
@@ -51,6 +51,7 @@
      * @param path the URI path for which the cookie is valid
      * @param domain the host domain for which the cookie is valid
      * @param version the version of the specification to which the cookie complies
+     * @throws IllegalArgumentException if name is null
      */
     public Cookie(String name, String value, String path, String domain, int version) {
         if (name == null)
@@ -68,6 +69,7 @@
      * @param value the value of the cookie
      * @param path the URI path for which the cookie is valid
      * @param domain the host domain for which the cookie is valid
+     * @throws IllegalArgumentException if name is null
      */
     public Cookie(String name, String value, String path, String domain) {
         this(name, value, path, domain, DEFAULT_VERSION);
@@ -77,6 +79,7 @@
      * Create a new instance.
      * @param name the name of the cookie
      * @param value the value of the cookie
+     * @throws IllegalArgumentException if name is null
      */
     public Cookie(String name, String value) {
         this(name, value, null, null);
diff --git a/src/jsr311-api/src/javax/ws/rs/core/NewCookie.java b/src/jsr311-api/src/javax/ws/rs/core/NewCookie.java
index d7c6542..bf0a9ab 100644
--- a/src/jsr311-api/src/javax/ws/rs/core/NewCookie.java
+++ b/src/jsr311-api/src/javax/ws/rs/core/NewCookie.java
@@ -44,6 +44,7 @@
      * Create a new instance.
      * @param name the name of the cookie
      * @param value the value of the cookie
+     * @throws IllegalArgumentException if name is null
      */
     public NewCookie(String name, String value) {
         super(name, value);
@@ -58,6 +59,7 @@
      * @param comment the comment
      * @param maxAge the maximum age of the cookie in seconds
      * @param secure specifies whether the cookie will only be sent over a secure connection
+     * @throws IllegalArgumentException if name is null
      */
     public NewCookie(String name, String value, String path, String domain, String comment, int maxAge, boolean secure) {
         super(name, value, path, domain);
@@ -76,6 +78,7 @@
      * @param comment the comment
      * @param maxAge the maximum age of the cookie in seconds
      * @param secure specifies whether the cookie will only be sent over a secure connection
+     * @throws IllegalArgumentException if name is null
      */
     public NewCookie(String name, String value, String path, String domain, int version, String comment, int maxAge, boolean secure) {
         super(name, value, path, domain, version);