diff --git a/spring-binding/src/main/java/org/springframework/binding/convert/ConversionException.java b/spring-binding/src/main/java/org/springframework/binding/convert/ConversionException.java index e7929e42..4a63bd37 100644 --- a/spring-binding/src/main/java/org/springframework/binding/convert/ConversionException.java +++ b/spring-binding/src/main/java/org/springframework/binding/convert/ConversionException.java @@ -15,30 +15,28 @@ */ package org.springframework.binding.convert; -import org.springframework.core.NestedRuntimeException; - /** * Base class for exceptions thrown by the type conversion system. * * @author Keith Donald */ -public class ConversionException extends NestedRuntimeException { +public class ConversionException extends RuntimeException { /** * The source type we tried to convert from */ private Class sourceClass; - /** - * The value we tried to convert. Transient because we cannot guarantee that the value is Serializable. - */ - private transient Object value; - /** * The target type we tried to convert to. */ private Class targetClass; + /** + * The value we tried to convert. Transient because we cannot guarantee that the value is Serializable. + */ + private transient Object value; + /** * Creates a new conversion exception. * @param value the value we tried to convert diff --git a/spring-binding/src/main/java/org/springframework/binding/expression/ParserException.java b/spring-binding/src/main/java/org/springframework/binding/expression/ParserException.java index a91fb7e2..2dcd85d0 100644 --- a/spring-binding/src/main/java/org/springframework/binding/expression/ParserException.java +++ b/spring-binding/src/main/java/org/springframework/binding/expression/ParserException.java @@ -15,14 +15,12 @@ */ package org.springframework.binding.expression; -import org.springframework.core.NestedRuntimeException; - /** * Base class for exceptions thrown during expression parsing. * * @author Keith Donald */ -public class ParserException extends NestedRuntimeException { +public class ParserException extends RuntimeException { /** * The expression string that could not be parsed. diff --git a/spring-binding/src/main/java/org/springframework/binding/format/InvalidFormatException.java b/spring-binding/src/main/java/org/springframework/binding/format/InvalidFormatException.java index 4c17f66c..7d43537b 100644 --- a/spring-binding/src/main/java/org/springframework/binding/format/InvalidFormatException.java +++ b/spring-binding/src/main/java/org/springframework/binding/format/InvalidFormatException.java @@ -15,14 +15,12 @@ */ package org.springframework.binding.format; -import org.springframework.core.NestedRuntimeException; - /** * Thrown when a formatted value is of the wrong form. * * @author Keith Donald */ -public class InvalidFormatException extends NestedRuntimeException { +public class InvalidFormatException extends RuntimeException { private String invalidValue; diff --git a/spring-binding/src/main/java/org/springframework/binding/method/InvalidMethodKeyException.java b/spring-binding/src/main/java/org/springframework/binding/method/InvalidMethodKeyException.java index 3358425a..49f02982 100644 --- a/spring-binding/src/main/java/org/springframework/binding/method/InvalidMethodKeyException.java +++ b/spring-binding/src/main/java/org/springframework/binding/method/InvalidMethodKeyException.java @@ -15,14 +15,13 @@ */ package org.springframework.binding.method; -import org.springframework.core.NestedRuntimeException; /** * Thrown when a method key could not be resolved to an invokable java Method on a Class. * * @author Keith Donald */ -public class InvalidMethodKeyException extends NestedRuntimeException { +public class InvalidMethodKeyException extends RuntimeException { /** * The method key that could not be resolved. diff --git a/spring-binding/src/main/java/org/springframework/binding/method/MethodInvocationException.java b/spring-binding/src/main/java/org/springframework/binding/method/MethodInvocationException.java index 311e03a1..b89c95b8 100644 --- a/spring-binding/src/main/java/org/springframework/binding/method/MethodInvocationException.java +++ b/spring-binding/src/main/java/org/springframework/binding/method/MethodInvocationException.java @@ -17,7 +17,6 @@ package org.springframework.binding.method; import java.lang.reflect.InvocationTargetException; -import org.springframework.core.NestedRuntimeException; import org.springframework.core.style.StylerUtils; /** @@ -25,7 +24,7 @@ import org.springframework.core.style.StylerUtils; * * @author Keith Donald */ -public class MethodInvocationException extends NestedRuntimeException { +public class MethodInvocationException extends RuntimeException { /** * The method signature. Transient because a MethodSignature is not Serializable. diff --git a/spring-webflow/src/main/java/org/springframework/webflow/action/DispatchMethodInvoker.java b/spring-webflow/src/main/java/org/springframework/webflow/action/DispatchMethodInvoker.java index 6d5a52b5..9f0278fb 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/action/DispatchMethodInvoker.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/action/DispatchMethodInvoker.java @@ -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.