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 11/*
2- * Copyright 2002-2018 the original author or authors.
2+ * Copyright 2002-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2525 * analogous to an InvocationTargetException.
2626 *
2727 * @author Rod Johnson
28+ * @author Juergen Hoeller
2829 */
2930@ SuppressWarnings ("serial" )
3031public class MethodInvocationException extends PropertyAccessException {
@@ -41,7 +42,9 @@ public class MethodInvocationException extends PropertyAccessException {
4142 * @param cause the Throwable raised by the invoked method
4243 */
4344 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 );
4548 }
4649
4750 @ Override
You can’t perform that action at this time.
0 commit comments