Fixed serializability problems in ConversionException, EvaluationException and MethodInvocationException.
This commit is contained in:
@@ -31,8 +31,9 @@ public class ConversionException extends NestedRuntimeException {
|
||||
|
||||
/**
|
||||
* The value we tried to convert.
|
||||
* Transient because we cannot guarantee that the value is Serializable.
|
||||
*/
|
||||
private Object value;
|
||||
private transient Object value;
|
||||
|
||||
/**
|
||||
* The target type we tried to convert to.
|
||||
|
||||
@@ -25,9 +25,10 @@ import org.springframework.core.NestedRuntimeException;
|
||||
public class EvaluationException extends NestedRuntimeException {
|
||||
|
||||
/**
|
||||
* The evaluation attempt that failed.
|
||||
* The evaluation attempt that failed.
|
||||
* Transient because an EvaluationAttempt is not serializable.
|
||||
*/
|
||||
private EvaluationAttempt evaluationAttempt;
|
||||
private transient EvaluationAttempt evaluationAttempt;
|
||||
|
||||
/**
|
||||
* Creates a new evaluation exception.
|
||||
|
||||
@@ -29,13 +29,15 @@ public class MethodInvocationException extends NestedRuntimeException {
|
||||
|
||||
/**
|
||||
* The method signature.
|
||||
* Transient because a MethodSignature is not Serializable.
|
||||
*/
|
||||
private MethodSignature methodSignature;
|
||||
private transient MethodSignature methodSignature;
|
||||
|
||||
/**
|
||||
* The method invocation argument values.
|
||||
* Transient because we cannot guarantee that the arguments are Serializable.
|
||||
*/
|
||||
private Object[] arguments;
|
||||
private transient Object[] arguments;
|
||||
|
||||
/**
|
||||
* Signals that the method with the specified signature could not be invoked
|
||||
|
||||
@@ -5,6 +5,9 @@ http://www.springframework.org
|
||||
Changes in version 1.1.0 ()
|
||||
-------------------------------------
|
||||
|
||||
Package org.springframework.binding
|
||||
* Fixed serializability problems in ConversionException, EvaluationException and MethodInvocationException.
|
||||
|
||||
Package org.springframework.webflow.config
|
||||
* FlowExecutorFactoryBean now has an 'inputMapper' property to conveniently configure the 'inputMapper'
|
||||
property of the created FlowExecutorImpl object.
|
||||
|
||||
Reference in New Issue
Block a user