File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
core/src/main/java/org/springframework/ldap/core/support Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2005-2013 the original author or authors.
2+ * Copyright 2005-2024 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.
1818
1919import java .io .IOException ;
2020import java .lang .reflect .InvocationHandler ;
21+ import java .lang .reflect .InvocationTargetException ;
2122import java .lang .reflect .Method ;
2223import java .lang .reflect .Proxy ;
2324import java .util .Hashtable ;
@@ -203,7 +204,12 @@ else if (method.getName().equals(GET_TARGET_CONTEXT_METHOD_NAME)) {
203204 return this .target ;
204205 }
205206 else {
206- return method .invoke (this .target , args );
207+ try {
208+ return method .invoke (this .target , args );
209+ }
210+ catch (InvocationTargetException ex ) {
211+ throw ex .getTargetException ();
212+ }
207213 }
208214 }
209215
You can’t perform that action at this time.
0 commit comments