geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r933548 - /geronimo/specs/trunk/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/RuntimeDelegate.java
Date Tue, 13 Apr 2010 11:07:48 GMT
Author: rickmcguire
Date: Tue Apr 13 11:07:47 2010
New Revision: 933548

URL: http://svn.apache.org/viewvc?rev=933548&view=rev
Log:
Fix RuntimeDelegate to throw an exception if unable to create a delegate

Modified:
    geronimo/specs/trunk/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/RuntimeDelegate.java

Modified: geronimo/specs/trunk/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/RuntimeDelegate.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/RuntimeDelegate.java?rev=933548&r1=933547&r2=933548&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/RuntimeDelegate.java
(original)
+++ geronimo/specs/trunk/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/RuntimeDelegate.java
Tue Apr 13 11:07:47 2010
@@ -146,7 +146,7 @@ public abstract class RuntimeDelegate {
                 // do nothing
             }
 
-            return delegate;
+            throw new RuntimeException("Unable to create jax-rs RuntimeDelegate");
         }
     }
 }



Mime
View raw message