mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Return exception from convertJmsInvokerAccessException()
The convertJmsInvokerAccessException() method in JmsInvokerClientInterceptor now correctly returns the converted exception instead of throwing it.
This commit is contained in:
+1
-1
@@ -419,7 +419,7 @@ public class JmsInvokerClientInterceptor implements MethodInterceptor, Initializ
|
||||
* @return the RemoteAccessException to throw
|
||||
*/
|
||||
protected RemoteAccessException convertJmsInvokerAccessException(JMSException ex) {
|
||||
throw new RemoteAccessException("Could not access JMS invoker queue [" + this.queue + "]", ex);
|
||||
return new RemoteAccessException("Could not access JMS invoker queue [" + this.queue + "]", ex);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user