File tree 1 file changed +3
-3
lines changed
spring-aop/src/main/java/org/springframework/aop/framework
1 file changed +3
-3
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-2020 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.
@@ -67,8 +67,8 @@ public static Object currentProxy() throws IllegalStateException {
67
67
Object proxy = currentProxy .get ();
68
68
if (proxy == null ) {
69
69
throw new IllegalStateException (
70
- "Cannot find current proxy: Set 'exposeProxy' property on Advised to 'true' to make it available. " +
71
- "Also Check AopContext.currentProxy() invoke in the origin thread." );
70
+ "Cannot find current proxy: Set 'exposeProxy' property on Advised to 'true' to make it available, and " +
71
+ "ensure that AopContext.currentProxy() is invoked in the same thread as the AOP invocation context ." );
72
72
}
73
73
return proxy ;
74
74
}
You can’t perform that action at this time.
0 commit comments