jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1488597 - /jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/mgt/ARQMgt.java
Date Sat, 01 Jun 2013 20:53:52 GMT
Author: andy
Date: Sat Jun  1 20:53:51 2013
New Revision: 1488597

URL: http://svn.apache.org/r1488597
Log:
De-duplicate warning messages for different exceptions.

Modified:
    jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/mgt/ARQMgt.java

Modified: jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/mgt/ARQMgt.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/mgt/ARQMgt.java?rev=1488597&r1=1488596&r2=1488597&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/mgt/ARQMgt.java (original)
+++ jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/mgt/ARQMgt.java Sat Jun  1 20:53:51
2013
@@ -103,15 +103,15 @@ public class ARQMgt
 
         } catch (NotCompliantMBeanException ex)
         {
-            log.warn("Failed to register '"+objName.getCanonicalName()+"': "+ex.getMessage())
;
+            log.warn("Failed to register (NotCompliantMBeanException)'"+objName.getCanonicalName()+"':
"+ex.getMessage()) ;
             throw new ARQException("Failed to register '"+objName.getCanonicalName()+"':
"+ex.getMessage(), ex) ;
         } catch (InstanceAlreadyExistsException ex)
         {
-            log.warn("Failed to register '"+objName.getCanonicalName()+"': "+ex.getMessage())
;
+            log.warn("Failed to register (InstanceAlreadyExistsException)'"+objName.getCanonicalName()+"':
"+ex.getMessage()) ;
             throw new ARQException("Failed to register '"+objName.getCanonicalName()+"':
"+ex.getMessage(), ex) ;
         } catch (MBeanRegistrationException ex)
         {
-            log.warn("Failed to register '"+objName.getCanonicalName()+"': "+ex.getMessage())
;
+            log.warn("Failed to register (MBeanRegistrationException)'"+objName.getCanonicalName()+"':
"+ex.getMessage()) ;
             throw new ARQException("Failed to register '"+objName.getCanonicalName()+"':
"+ex.getMessage(), ex) ;
         }
     }



Mime
View raw message