You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ri...@apache.org on 2010/04/13 13:07:48 UTC
svn commit: r933548 -
/geronimo/specs/trunk/geronimo-jaxrs_1.1_spec/src/main/java/javax/ws/rs/ext/RuntimeDelegate.java
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");
}
}
}