@@ -1338,8 +1338,7 @@ public Object get( String key, Integer hashCode, boolean asString ) {
13381338 if ( errorHandler != null )
13391339 errorHandler .handleErrorOnGet ( this , e , key );
13401340
1341- log .error ( "++++ IOException thrown while trying to uncompress input stream for key: " + key );
1342- log .error ( e .getMessage (), e );
1341+ log .error ( "++++ IOException thrown while trying to uncompress input stream for key: " + key + " -- " + e .getMessage () );
13431342 throw new NestedIOException ( "++++ IOException thrown while trying to uncompress input stream for key: " + key , e );
13441343 }
13451344 }
@@ -1383,7 +1382,7 @@ public Object get( String key, Integer hashCode, boolean asString ) {
13831382 if ( errorHandler != null )
13841383 errorHandler .handleErrorOnGet ( this , e , key );
13851384
1386- log .error ( "++++ ClassNotFoundException thrown while trying to deserialize for key: " + key , e );
1385+ log .error ( "++++ ClassNotFoundException thrown while trying to deserialize for key: " + key + " -- " + e . getMessage () );
13871386 throw new NestedIOException ( "+++ failed while trying to deserialize for key: " + key , e );
13881387 }
13891388 }
@@ -1406,8 +1405,7 @@ else if ( END.equals( line ) ) {
14061405 errorHandler .handleErrorOnGet ( this , e , key );
14071406
14081407 // exception thrown
1409- log .error ( "++++ exception thrown while trying to get object from cache for key: " + key );
1410- log .error ( e .getMessage (), e );
1408+ log .error ( "++++ exception thrown while trying to get object from cache for key: " + key + " -- " + e .getMessage () );
14111409
14121410 try {
14131411 sock .trueClose ();
@@ -1681,8 +1679,7 @@ private void loadMulti( LineInputStream input, Map<String,Object> hm, boolean as
16811679 if ( errorHandler != null )
16821680 errorHandler .handleErrorOnGet ( this , e , key );
16831681
1684- log .error ( "++++ IOException thrown while trying to uncompress input stream for key: " + key );
1685- log .error ( e .getMessage (), e );
1682+ log .error ( "++++ IOException thrown while trying to uncompress input stream for key: " + key + " -- " + e .getMessage () );
16861683 throw new NestedIOException ( "++++ IOException thrown while trying to uncompress input stream for key: " + key , e );
16871684 }
16881685 }
@@ -1706,7 +1703,7 @@ private void loadMulti( LineInputStream input, Map<String,Object> hm, boolean as
17061703 if ( errorHandler != null )
17071704 errorHandler .handleErrorOnGet ( this , e , key );
17081705
1709- log .error ( "++++ Exception thrown while trying to deserialize for key: " + key , e );
1706+ log .error ( "++++ Exception thrown while trying to deserialize for key: " + key + " -- " + e . getMessage () );
17101707 throw new NestedIOException ( e );
17111708 }
17121709 }
@@ -1726,7 +1723,7 @@ private void loadMulti( LineInputStream input, Map<String,Object> hm, boolean as
17261723 if ( errorHandler != null )
17271724 errorHandler .handleErrorOnGet ( this , e , key );
17281725
1729- log .error ( "++++ ClassNotFoundException thrown while trying to deserialize for key: " + key , e );
1726+ log .error ( "++++ ClassNotFoundException thrown while trying to deserialize for key: " + key + " -- " + e . getMessage () );
17301727 throw new NestedIOException ( "+++ failed while trying to deserialize for key: " + key , e );
17311728 }
17321729 }
0 commit comments