You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tv...@apache.org on 2021/12/23 10:03:47 UTC
[commons-jcs] 02/04: Narrow down exception type
This is an automated email from the ASF dual-hosted git repository.
tv pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git
commit 15c47a942a43f51337ac002df95105c8ea8f8955
Author: Thomas Vandahl <tv...@apache.org>
AuthorDate: Thu Dec 23 10:54:43 2021 +0100
Narrow down exception type
---
.../org/apache/commons/jcs3/auxiliary/remote/RemoteCacheManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/RemoteCacheManager.java b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/RemoteCacheManager.java
index b2f5323..25e0430 100644
--- a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/RemoteCacheManager.java
+++ b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/remote/RemoteCacheManager.java
@@ -248,7 +248,7 @@ public class RemoteCacheManager
listener = new RemoteCacheListener<>( cattr, cacheMgr, elementSerializer );
addRemoteCacheListener( cattr, listener );
}
- catch ( final Exception e )
+ catch ( final IOException e )
{
log.error( "Problem adding listener. RemoteCacheListener = {0}",
listener, e );