Add lower bound to generic type of exception mapper

svn path=/trunk/; revision=498
diff --git a/src/jsr311-api/src/javax/ws/rs/ext/ExceptionMapper.java b/src/jsr311-api/src/javax/ws/rs/ext/ExceptionMapper.java
index a2e9276..1bed6cb 100644
--- a/src/jsr311-api/src/javax/ws/rs/ext/ExceptionMapper.java
+++ b/src/jsr311-api/src/javax/ws/rs/ext/ExceptionMapper.java
@@ -22,7 +22,7 @@
  * @see Provider
  * @see javax.ws.rs.core.Response
  */
-public interface ExceptionMapper<E> {
+public interface ExceptionMapper<E extends Throwable> {
 
     /**
      * Map an exception to a {@link javax.ws.rs.core.Response}. Returning 
diff --git a/src/jsr311-api/src/javax/ws/rs/ext/Providers.java b/src/jsr311-api/src/javax/ws/rs/ext/Providers.java
index ef2a51d..0b7a10b 100644
--- a/src/jsr311-api/src/javax/ws/rs/ext/Providers.java
+++ b/src/jsr311-api/src/javax/ws/rs/ext/Providers.java
@@ -104,7 +104,7 @@
      * @return an {@link ExceptionMapper} for the supplied type or null if none
      * is found.
      */
-    <T> ExceptionMapper<T> getExceptionMapper(Class<T> type);
+    <T extends Throwable> ExceptionMapper<T> getExceptionMapper(Class<T> type);
 
     /**
      * Get a context resolver for a particular type of context and media type.