File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
spring-beans/src/main/java/org/springframework/beans Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
25
25
* analogous to an InvocationTargetException.
26
26
*
27
27
* @author Rod Johnson
28
+ * @author Juergen Hoeller
28
29
*/
29
30
@ SuppressWarnings ("serial" )
30
31
public class MethodInvocationException extends PropertyAccessException {
@@ -41,7 +42,9 @@ public class MethodInvocationException extends PropertyAccessException {
41
42
* @param cause the Throwable raised by the invoked method
42
43
*/
43
44
public MethodInvocationException (PropertyChangeEvent propertyChangeEvent , @ Nullable Throwable cause ) {
44
- super (propertyChangeEvent , "Property '" + propertyChangeEvent .getPropertyName () + "' threw exception" , cause );
45
+ super (propertyChangeEvent ,
46
+ "Property '" + propertyChangeEvent .getPropertyName () + "' threw exception: " + cause ,
47
+ cause );
45
48
}
46
49
47
50
@ Override
You can’t perform that action at this time.
0 commit comments