remove use of NRE

This commit is contained in:
Keith Donald
2008-04-21 22:43:56 +00:00
parent 3c8179e92e
commit e045a216e8
6 changed files with 11 additions and 20 deletions

View File

@@ -21,7 +21,6 @@ import java.util.Map;
import org.springframework.binding.method.InvalidMethodKeyException;
import org.springframework.binding.method.MethodKey;
import org.springframework.core.NestedRuntimeException;
import org.springframework.util.Assert;
import org.springframework.util.CachingMapDecorator;
@@ -122,7 +121,7 @@ class DispatchMethodInvoker {
/**
* Thrown when a dispatch method could not be resolved.
*/
public static class MethodLookupException extends NestedRuntimeException {
public static class MethodLookupException extends RuntimeException {
/**
* Create a new method lookup exception.