[jboss-svn-commits] JBL Code SVN: r26398 - in labs/jbosstm/trunk/common/classes/com/arjuna/common: internal/util/logging/jakarta and 4 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed May 6 11:41:29 EDT 2009


Author: jhalliday
Date: 2009-05-06 11:41:28 -0400 (Wed, 06 May 2009)
New Revision: 26398

Modified:
   labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/AbstractLogImpl.java
   labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/LogImpl.java
   labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/jakarta/JakartaLogFactory.java
   labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/jakarta/JakartaRelevelingLogFactory.java
   labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/propertyservice/PropertyManagerImpl.java
   labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/propertyservice/plugins/io/XMLFilePlugin.java
   labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/LoadPropertiesException.java
   labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/LogConfigurationException.java
   labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/ManagementPluginException.java
   labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/SavePropertiesException.java
   labs/jbosstm/trunk/common/classes/com/arjuna/common/util/logging/LogFactory.java
   labs/jbosstm/trunk/common/classes/com/arjuna/common/util/logging/LogNoi18n.java
   labs/jbosstm/trunk/common/classes/com/arjuna/common/util/logging/Logi18n.java
Log:
spring cleaning: exception usage and some deprecation. JBTM-534


Modified: labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/AbstractLogImpl.java
===================================================================
--- labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/AbstractLogImpl.java	2009-05-06 14:27:57 UTC (rev 26397)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/AbstractLogImpl.java	2009-05-06 15:41:28 UTC (rev 26398)
@@ -1,20 +1,20 @@
 /*
  * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors 
- * as indicated by the @author tags. 
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
  * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
+ * full listing of individual contributors.
  * This copyrighted material is made available to anyone wishing to use,
  * modify, copy, or redistribute it subject to the terms and conditions
  * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  * You should have received a copy of the GNU Lesser General Public License,
  * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  * MA  02110-1301, USA.
- * 
+ *
  * (C) 2005-2006,
  * @author JBoss Inc.
  */
@@ -57,18 +57,6 @@
     */
    private AbstractLogInterface m_logInterface = null;
 
-   /**
-    * default resource bundle for this logger.
-    *
-    * Note that it is also possible to use a resource bundle name as argument in log statements if so required.
-    * (this is only used by the AMS client library and we might remove this feature because of performance)
-    *
-    * all extra resource bundles are kept in {@link #m_extraResourceBundles m_extraResourceBundles}.
-    *
-    * @deprecated only used temporariliy for support of CSF
-    */
-   protected String m_resourceBundleName = "no resource bundle set";
-
    private ResourceBundle m_defaultResourceBundle = null;
 
    /**
@@ -78,7 +66,6 @@
     *
     * @see #m_defaultResourceBundle.
     */
-   //protected String[] m_extraResBundles = null;
    private ResourceBundle[] m_extraResourceBundles = null;
 
    /**
@@ -128,24 +115,6 @@
    }
 
    /**
-    * constructor
-    *
-    * @param logInterface
-    * @param resBundles a set of resource bundles (if a resource bundle is used per logger)
-    * @deprecated Note: This implementation is optimised for using a single per-module resource bundle or direct
-    *   resource use of multiple resource bundles reduces performance -- use this only if really necessary.
-    */
-   public AbstractLogImpl(AbstractLogInterface logInterface, String[] resBundles)
-   {
-      m_logInterface = logInterface;
-      for (int i = 0; i < resBundles.length; i++)
-      {
-         addResourceBundle(resBundles[i]);
-      }
-   }
-
-
-   /**
     * Set the name of the resource bundle name that the logger will use
     * to retreive national text
     *
@@ -155,7 +124,6 @@
    {
       try
       {
-         m_resourceBundleName = baseName;
          m_defaultResourceBundle = PropertyResourceBundle.getBundle(baseName, Locale.getDefault(), Thread.currentThread().getContextClassLoader());
       }
       catch (MissingResourceException mre)
@@ -177,7 +145,6 @@
          if (m_defaultResourceBundle == null)
          {
             m_defaultResourceBundle = PropertyResourceBundle.getBundle(bundleName, Locale.getDefault(), Thread.currentThread().getContextClassLoader());
-            m_resourceBundleName = bundleName;
          }
 
          // otherwise, add it to the extra resource bundles supported by this logger

Modified: labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/LogImpl.java
===================================================================
--- labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/LogImpl.java	2009-05-06 14:27:57 UTC (rev 26397)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/LogImpl.java	2009-05-06 15:41:28 UTC (rev 26398)
@@ -1,20 +1,20 @@
 /*
  * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors 
- * as indicated by the @author tags. 
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
  * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
+ * full listing of individual contributors.
  * This copyrighted material is made available to anyone wishing to use,
  * modify, copy, or redistribute it subject to the terms and conditions
  * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  * You should have received a copy of the GNU Lesser General Public License,
  * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  * MA  02110-1301, USA.
- * 
+ *
  * (C) 2005-2006,
  * @author JBoss Inc.
  */
@@ -87,21 +87,6 @@
         setupDefaultLog(resBundle);
     }
 
-    /**
-     * constructor
-     *
-     * @param logInterface
-     * @param resBundles a set of resource bundles (if a resource bundle is used per logger)
-     * @deprecated Note: This implementation is optimised for using a single per-module resource bundle or direct
-     *   resource use of multiple resource bundles reduces performance -- use this only if really necessary.
-     */
-    public LogImpl(LogInterface logInterface, String[] resBundles)
-    {
-        super(logInterface, resBundles);
-        m_logInterface = logInterface;
-        setupDefaultLog(resBundles[0]);
-    }
-
     private void setupDefaultLog(String name)
     {
         String defaultLog = "false";
@@ -271,54 +256,6 @@
     }
 
     /**
-     * Log a message with DEBUG Level, with arguments and with a throwable arguments
-     *
-     * @param key resource bundle key for the message to log
-     * @param param0 parameters passed to the message
-     *
-     * @deprecated only provided temporarily to ease transition of the AMS server to clf-2.0. this invocation should
-     *    be changed to <code>debug(key, new Object[] {param0, param1})</code>.
-     */
-    //public void debug(String key, Object param0)
-    //{
-    //   if (!isDebugEnabled()) return;
-    //   debug(key, new Object[]{param0});
-    //}
-
-    /**
-     * Log a message with DEBUG Level, with arguments and with a throwable arguments
-     *
-     * @param key resource bundle key for the message to log
-     * @param param0 parameters passed to the message
-     * @param param1 parameters passed to the message
-     *
-     * @deprecated only provided temporarily to ease transition of the AMS server to clf-2.0. this invocation should
-     *    be changed to <code>debug(key, new Object[] {param0})</code>.
-     */
-    //public void debug(String key, Object param0, Object param1)
-    //{
-    //   if (!isDebugEnabled()) return;
-    //   debug(key, new Object[]{param0, param1});
-    //}
-
-    /**
-     * Log a message with DEBUG Level, with arguments and with a throwable arguments
-     *
-     * @param key resource bundle key for the message to log
-     * @param param0 parameters passed to the message
-     * @param param1 parameters passed to the message
-     * @param param2 parameters passed to the message
-     *
-     * @deprecated only provided temporarily to ease transition of the AMS server to clf-2.0. this invocation should
-     *    be changed to <code>debug(key, new Object[] {param0, param1, param2})</code>.
-     */
-    //public void debug(String key, Object param0, Object param1, Object param2)
-    //{
-    //   if (!isDebugEnabled()) return;
-    //   debug(key, new Object[]{param0, param1, param2});
-    //}
-
-    /**
      * Log a message with INFO Level
      *
      * @param key resource bundle key for the message to log
@@ -532,56 +469,7 @@
             m_defaultLog.error(message, throwable);
     }
 
-
     /**
-     * Log a message with ERROR Level, with arguments and with a throwable arguments
-     *
-     * @param key resource bundle key for the message to log
-     * @param param0 parameters passed to the message
-     *
-     * @deprecated only provided temporarily to ease transition of the AMS server to clf-2.0. this invocation should
-     *    be changed to <code>error(key, new Object[] {param0, param1})</code>.
-     */
-    //public void error(String key, Object param0)
-    //{
-    //   if (!isErrorEnabled()) return;
-    //   error(key, new Object[]{param0});
-    //}
-
-    /**
-     * Log a message with ERROR Level, with arguments and with a throwable arguments
-     *
-     * @param key resource bundle key for the message to log
-     * @param param0 parameters passed to the message
-     * @param param1 parameters passed to the message
-     *
-     * @deprecated only provided temporarily to ease transition of the AMS server to clf-2.0. this invocation should
-     *    be changed to <code>error(key, new Object[] {param0})</code>.
-     */
-    //public void error(String key, Object param0, Object param1)
-    //{
-    //   if (!isErrorEnabled()) return;
-    //   error(key, new Object[]{param0, param1});
-    //}
-
-    /**
-     * Log a message with ERROR Level, with arguments and with a throwable arguments
-     *
-     * @param key resource bundle key for the message to log
-     * @param param0 parameters passed to the message
-     * @param param1 parameters passed to the message
-     * @param param2 parameters passed to the message
-     *
-     * @deprecated only provided temporarily to ease transition of the AMS server to clf-2.0. this invocation should
-     *    be changed to <code>error(key, new Object[] {param0, param1, param2})</code>.
-     */
-    //public void error(String key, Object param0, Object param1, Object param2)
-    //{
-    //   if (!isErrorEnabled()) return;
-    //   error(key, new Object[]{param0, param1, param2});
-    //}
-
-    /**
      * Log a message with the FATAL Level
      * @param key resource bundle key for the message to log
      *

Modified: labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/jakarta/JakartaLogFactory.java
===================================================================
--- labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/jakarta/JakartaLogFactory.java	2009-05-06 14:27:57 UTC (rev 26397)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/jakarta/JakartaLogFactory.java	2009-05-06 15:41:28 UTC (rev 26398)
@@ -62,7 +62,7 @@
       }
       catch (org.apache.commons.logging.LogConfigurationException lce)
       {
-         throw new LogConfigurationException(lce.getMessage());
+         throw new LogConfigurationException(lce.getMessage(), lce);
       }
       finally
       {
@@ -93,7 +93,7 @@
       }
       catch (org.apache.commons.logging.LogConfigurationException lce)
       {
-         throw new LogConfigurationException(lce.getMessage());
+         throw new LogConfigurationException(lce.getMessage(), lce);
       }
       finally
       {

Modified: labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/jakarta/JakartaRelevelingLogFactory.java
===================================================================
--- labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/jakarta/JakartaRelevelingLogFactory.java	2009-05-06 14:27:57 UTC (rev 26397)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/logging/jakarta/JakartaRelevelingLogFactory.java	2009-05-06 15:41:28 UTC (rev 26398)
@@ -53,7 +53,7 @@
       }
       catch (org.apache.commons.logging.LogConfigurationException lce)
       {
-         throw new LogConfigurationException(lce.getMessage());
+         throw new LogConfigurationException(lce.getMessage(), lce);
       }
       finally
       {
@@ -84,7 +84,7 @@
       }
       catch (org.apache.commons.logging.LogConfigurationException lce)
       {
-         throw new LogConfigurationException(lce.getMessage());
+         throw new LogConfigurationException(lce.getMessage(), lce);
       }
       finally
       {

Modified: labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/propertyservice/PropertyManagerImpl.java
===================================================================
--- labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/propertyservice/PropertyManagerImpl.java	2009-05-06 14:27:57 UTC (rev 26397)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/propertyservice/PropertyManagerImpl.java	2009-05-06 15:41:28 UTC (rev 26398)
@@ -1,20 +1,20 @@
 /*
  * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors 
- * as indicated by the @author tags. 
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
  * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
+ * full listing of individual contributors.
  * This copyrighted material is made available to anyone wishing to use,
  * modify, copy, or redistribute it subject to the terms and conditions
  * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  * You should have received a copy of the GNU Lesser General Public License,
  * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  * MA  02110-1301, USA.
- * 
+ *
  * (C) 2005-2006,
  * @author JBoss Inc.
  */
@@ -364,7 +364,7 @@
 		}
         catch (Exception e)
 		{
-			throw new LoadPropertiesException("Failed to instantiate plugin: "+e);
+			throw new LoadPropertiesException("Failed to instantiate plugin: "+e, e);
 		}
 	}
 
@@ -406,7 +406,7 @@
         catch (Exception e)
 		{
 			e.printStackTrace(System.err);
-			throw new SavePropertiesException("Failed to instantiate plugin: "+e);
+			throw new SavePropertiesException("Failed to instantiate plugin: "+e, e);
 		}
 	}
 
@@ -493,7 +493,7 @@
 		}
 		catch (Exception e)
 		{
-			throw new ManagementPluginException(e.toString());
+			throw new ManagementPluginException(e.toString(), e);
 		}
 	}
 

Modified: labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/propertyservice/plugins/io/XMLFilePlugin.java
===================================================================
--- labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/propertyservice/plugins/io/XMLFilePlugin.java	2009-05-06 14:27:57 UTC (rev 26397)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/internal/util/propertyservice/plugins/io/XMLFilePlugin.java	2009-05-06 15:41:28 UTC (rev 26398)
@@ -1,20 +1,20 @@
 /*
  * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors 
- * as indicated by the @author tags. 
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
  * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
+ * full listing of individual contributors.
  * This copyrighted material is made available to anyone wishing to use,
  * modify, copy, or redistribute it subject to the terms and conditions
  * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  * You should have received a copy of the GNU Lesser General Public License,
  * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  * MA  02110-1301, USA.
- * 
+ *
  * (C) 2005-2006,
  * @author JBoss Inc.
  */
@@ -180,7 +180,7 @@
 							{
 								System.out.println( propertyName +"="+ propertyValue );
 							}
-                            
+
                             // perform JBossAS style property substitutions. JBTM-369
                             propertyValue = StringPropertyReplacer.replaceProperties(propertyValue);
 
@@ -251,7 +251,7 @@
             }
             catch (Exception e)
             {
-                throw new LoadPropertiesException("Failed to open properties file: "+e);
+                throw new LoadPropertiesException("Failed to open properties file: "+e, e);
             }
         }
 	}
@@ -341,7 +341,7 @@
 		}
 		catch (Exception e)
 		{
-			throw new SavePropertiesException("Unexpected exception: "+e);
+			throw new SavePropertiesException("Unexpected exception: "+e, e);
 		}
 	}
 

Modified: labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/LoadPropertiesException.java
===================================================================
--- labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/LoadPropertiesException.java	2009-05-06 14:27:57 UTC (rev 26397)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/LoadPropertiesException.java	2009-05-06 15:41:28 UTC (rev 26398)
@@ -1,20 +1,20 @@
 /*
  * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors 
- * as indicated by the @author tags. 
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
  * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
+ * full listing of individual contributors.
  * This copyrighted material is made available to anyone wishing to use,
  * modify, copy, or redistribute it subject to the terms and conditions
  * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  * You should have received a copy of the GNU Lesser General Public License,
  * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  * MA  02110-1301, USA.
- * 
+ *
  * (C) 2005-2006,
  * @author JBoss Inc.
  */
@@ -33,21 +33,60 @@
 
 public class LoadPropertiesException extends Exception
 {
-	/**
-	 * Constructs an <code>Exception</code> with no specified detail message.
-	 */
-	public LoadPropertiesException()
-	{
-		super();
-	}
+    /**
+     * Constructs a new exception with <code>null</code> as its detail message.
+     * The cause is not initialized, and may subsequently be initialized by a
+     * call to {@link #initCause}.
+     */
+    public LoadPropertiesException() {
+        super();
+    }
 
-	/**
-	 * Constructs an <code>Exception</code> with the specified detail message.
-	 *
-	 * @param   s   the detail message.
-	 */
-	public LoadPropertiesException(String s)
-	{
-		super(s);
-	}
+    /**
+     * Constructs a new exception with the specified detail message.  The
+     * cause is not initialized, and may subsequently be initialized by
+     * a call to {@link #initCause}.
+     *
+     * @param message the detail message. The detail message is saved for
+     *                later retrieval by the {@link #getMessage()} method.
+     */
+    public LoadPropertiesException(String message) {
+        super(message);
+    }
+
+    /**
+     * Constructs a new exception with the specified detail message and
+     * cause.  <p>Note that the detail message associated with
+     * <code>cause</code> is <i>not</i> automatically incorporated in
+     * this exception's detail message.
+     *
+     * @param message the detail message (which is saved for later retrieval
+     *                by the {@link #getMessage()} method).
+     * @param cause   the cause (which is saved for later retrieval by the
+     *                {@link #getCause()} method).  (A <tt>null</tt> value is
+     *                permitted, and indicates that the cause is nonexistent or
+     *                unknown.)
+     * @since 1.4
+     */
+    public LoadPropertiesException(String message, Throwable cause) {
+        super(message, cause);
+    }
+
+    /**
+     * Constructs a new exception with the specified cause and a detail
+     * message of <tt>(cause==null ? null : cause.toString())</tt> (which
+     * typically contains the class and detail message of <tt>cause</tt>).
+     * This constructor is useful for exceptions that are little more than
+     * wrappers for other throwables (for example, {@link
+     * java.security.PrivilegedActionException}).
+     *
+     * @param cause the cause (which is saved for later retrieval by the
+     *              {@link #getCause()} method).  (A <tt>null</tt> value is
+     *              permitted, and indicates that the cause is nonexistent or
+     *              unknown.)
+     * @since 1.4
+     */
+    public LoadPropertiesException(Throwable cause) {
+        super(cause);
+    }
 }

Modified: labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/LogConfigurationException.java
===================================================================
--- labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/LogConfigurationException.java	2009-05-06 14:27:57 UTC (rev 26397)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/LogConfigurationException.java	2009-05-06 15:41:28 UTC (rev 26398)
@@ -1,20 +1,20 @@
 /*
  * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors 
- * as indicated by the @author tags. 
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
  * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
+ * full listing of individual contributors.
  * This copyrighted material is made available to anyone wishing to use,
  * modify, copy, or redistribute it subject to the terms and conditions
  * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  * You should have received a copy of the GNU Lesser General Public License,
  * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  * MA  02110-1301, USA.
- * 
+ *
  * (C) 2005-2006,
  * @author JBoss Inc.
  */
@@ -39,57 +39,59 @@
  */
 public class LogConfigurationException extends RuntimeException
 {
-   /**
-    * Construct a new exception with <code>null</code> as its detail message.
-    */
-   public LogConfigurationException() {
-      super();
-   }
+    /**
+     * Constructs a new runtime exception with <code>null</code> as its
+     * detail message.  The cause is not initialized, and may subsequently be
+     * initialized by a call to {@link #initCause}.
+     */
+    public LogConfigurationException() {
+        super();
+    }
 
+    /**
+     * Constructs a new runtime exception with the specified detail message.
+     * The cause is not initialized, and may subsequently be initialized by a
+     * call to {@link #initCause}.
+     *
+     * @param message the detail message. The detail message is saved for
+     *                later retrieval by the {@link #getMessage()} method.
+     */
+    public LogConfigurationException(String message) {
+        super(message);
+    }
 
-   /**
-    * Construct a new exception with the specified detail message.
-    *
-    * @param message The detail message
-    */
-   public LogConfigurationException(String message) {
-      super(message);
-   }
+    /**
+     * Constructs a new runtime exception with the specified detail message and
+     * cause.  <p>Note that the detail message associated with
+     * <code>cause</code> is <i>not</i> automatically incorporated in
+     * this runtime exception's detail message.
+     *
+     * @param message the detail message (which is saved for later retrieval
+     *                by the {@link #getMessage()} method).
+     * @param cause   the cause (which is saved for later retrieval by the
+     *                {@link #getCause()} method).  (A <tt>null</tt> value is
+     *                permitted, and indicates that the cause is nonexistent or
+     *                unknown.)
+     * @since 1.4
+     */
+    public LogConfigurationException(String message, Throwable cause) {
+        super(message, cause);
+    }
 
-
-   /**
-    * Construct a new exception with the specified cause and a derived
-    * detail message.
-    *
-    * @param cause The underlying cause
-    */
-   public LogConfigurationException(Throwable cause) {
-      this((cause == null) ? null : cause.toString(), cause);
-   }
-
-
-   /**
-    * Construct a new exception with the specified detail message and cause.
-    *
-    * @param message The detail message
-    * @param cause The underlying cause
-    */
-   public LogConfigurationException(String message, Throwable cause) {
-      super(message);
-      this.cause = cause; // Two-argument version requires JDK 1.4 or later
-   }
-
-
-   /**
-    * The underlying cause of this exception.
-    */
-   protected Throwable cause = null;
-
-
-   /**
-    * Return the underlying cause of this exception (if any).
-    */
-   public Throwable getCause() {
-      return (this.cause);
-   }
+    /**
+     * Constructs a new runtime exception with the specified cause and a
+     * detail message of <tt>(cause==null ? null : cause.toString())</tt>
+     * (which typically contains the class and detail message of
+     * <tt>cause</tt>).  This constructor is useful for runtime exceptions
+     * that are little more than wrappers for other throwables.
+     *
+     * @param cause the cause (which is saved for later retrieval by the
+     *              {@link #getCause()} method).  (A <tt>null</tt> value is
+     *              permitted, and indicates that the cause is nonexistent or
+     *              unknown.)
+     * @since 1.4
+     */
+    public LogConfigurationException(Throwable cause) {
+        super(cause);
+    }
 }

Modified: labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/ManagementPluginException.java
===================================================================
--- labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/ManagementPluginException.java	2009-05-06 14:27:57 UTC (rev 26397)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/ManagementPluginException.java	2009-05-06 15:41:28 UTC (rev 26398)
@@ -1,20 +1,20 @@
 /*
  * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors 
- * as indicated by the @author tags. 
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
  * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
+ * full listing of individual contributors.
  * This copyrighted material is made available to anyone wishing to use,
  * modify, copy, or redistribute it subject to the terms and conditions
  * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  * You should have received a copy of the GNU Lesser General Public License,
  * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  * MA  02110-1301, USA.
- * 
+ *
  * (C) 2005-2006,
  * @author JBoss Inc.
  */
@@ -33,21 +33,60 @@
 
 public class ManagementPluginException extends Exception
 {
-	/**
-	 * Constructs an <code>Exception</code> with no specified detail message.
-	 */
-	public ManagementPluginException()
-	{
-		super();
-	}
+    /**
+     * Constructs a new exception with <code>null</code> as its detail message.
+     * The cause is not initialized, and may subsequently be initialized by a
+     * call to {@link #initCause}.
+     */
+    public ManagementPluginException() {
+        super();
+    }
 
-	/**
-	 * Constructs an <code>Exception</code> with the specified detail message.
-	 *
-	 * @param   s   the detail message.
-	 */
-	public ManagementPluginException(String s)
-	{
-		super(s);
-	}
+    /**
+     * Constructs a new exception with the specified detail message.  The
+     * cause is not initialized, and may subsequently be initialized by
+     * a call to {@link #initCause}.
+     *
+     * @param message the detail message. The detail message is saved for
+     *                later retrieval by the {@link #getMessage()} method.
+     */
+    public ManagementPluginException(String message) {
+        super(message);
+    }
+
+    /**
+     * Constructs a new exception with the specified detail message and
+     * cause.  <p>Note that the detail message associated with
+     * <code>cause</code> is <i>not</i> automatically incorporated in
+     * this exception's detail message.
+     *
+     * @param message the detail message (which is saved for later retrieval
+     *                by the {@link #getMessage()} method).
+     * @param cause   the cause (which is saved for later retrieval by the
+     *                {@link #getCause()} method).  (A <tt>null</tt> value is
+     *                permitted, and indicates that the cause is nonexistent or
+     *                unknown.)
+     * @since 1.4
+     */
+    public ManagementPluginException(String message, Throwable cause) {
+        super(message, cause);
+    }
+
+    /**
+     * Constructs a new exception with the specified cause and a detail
+     * message of <tt>(cause==null ? null : cause.toString())</tt> (which
+     * typically contains the class and detail message of <tt>cause</tt>).
+     * This constructor is useful for exceptions that are little more than
+     * wrappers for other throwables (for example, {@link
+     * java.security.PrivilegedActionException}).
+     *
+     * @param cause the cause (which is saved for later retrieval by the
+     *              {@link #getCause()} method).  (A <tt>null</tt> value is
+     *              permitted, and indicates that the cause is nonexistent or
+     *              unknown.)
+     * @since 1.4
+     */
+    public ManagementPluginException(Throwable cause) {
+        super(cause);
+    }
 }

Modified: labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/SavePropertiesException.java
===================================================================
--- labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/SavePropertiesException.java	2009-05-06 14:27:57 UTC (rev 26397)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/SavePropertiesException.java	2009-05-06 15:41:28 UTC (rev 26398)
@@ -1,20 +1,20 @@
 /*
  * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors 
- * as indicated by the @author tags. 
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
  * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
+ * full listing of individual contributors.
  * This copyrighted material is made available to anyone wishing to use,
  * modify, copy, or redistribute it subject to the terms and conditions
  * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  * You should have received a copy of the GNU Lesser General Public License,
  * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  * MA  02110-1301, USA.
- * 
+ *
  * (C) 2005-2006,
  * @author JBoss Inc.
  */
@@ -33,21 +33,60 @@
 
 public class SavePropertiesException extends Exception
 {
-	/**
-	 * Constructs an <code>Exception</code> with no specified detail message.
-	 */
-	public SavePropertiesException()
-	{
-		super();
-	}
+    /**
+     * Constructs a new exception with <code>null</code> as its detail message.
+     * The cause is not initialized, and may subsequently be initialized by a
+     * call to {@link #initCause}.
+     */
+    public SavePropertiesException() {
+        super();
+    }
 
-	/**
-	 * Constructs an <code>Exception</code> with the specified detail message.
-	 *
-	 * @param   s   the detail message.
-	 */
-	public SavePropertiesException(String s)
-	{
-		super(s);
-	}
+    /**
+     * Constructs a new exception with the specified detail message.  The
+     * cause is not initialized, and may subsequently be initialized by
+     * a call to {@link #initCause}.
+     *
+     * @param message the detail message. The detail message is saved for
+     *                later retrieval by the {@link #getMessage()} method.
+     */
+    public SavePropertiesException(String message) {
+        super(message);
+    }
+
+    /**
+     * Constructs a new exception with the specified detail message and
+     * cause.  <p>Note that the detail message associated with
+     * <code>cause</code> is <i>not</i> automatically incorporated in
+     * this exception's detail message.
+     *
+     * @param message the detail message (which is saved for later retrieval
+     *                by the {@link #getMessage()} method).
+     * @param cause   the cause (which is saved for later retrieval by the
+     *                {@link #getCause()} method).  (A <tt>null</tt> value is
+     *                permitted, and indicates that the cause is nonexistent or
+     *                unknown.)
+     * @since 1.4
+     */
+    public SavePropertiesException(String message, Throwable cause) {
+        super(message, cause);
+    }
+
+    /**
+     * Constructs a new exception with the specified cause and a detail
+     * message of <tt>(cause==null ? null : cause.toString())</tt> (which
+     * typically contains the class and detail message of <tt>cause</tt>).
+     * This constructor is useful for exceptions that are little more than
+     * wrappers for other throwables (for example, {@link
+     * java.security.PrivilegedActionException}).
+     *
+     * @param cause the cause (which is saved for later retrieval by the
+     *              {@link #getCause()} method).  (A <tt>null</tt> value is
+     *              permitted, and indicates that the cause is nonexistent or
+     *              unknown.)
+     * @since 1.4
+     */
+    public SavePropertiesException(Throwable cause) {
+        super(cause);
+    }
 }

Modified: labs/jbosstm/trunk/common/classes/com/arjuna/common/util/logging/LogFactory.java
===================================================================
--- labs/jbosstm/trunk/common/classes/com/arjuna/common/util/logging/LogFactory.java	2009-05-06 14:27:57 UTC (rev 26397)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/util/logging/LogFactory.java	2009-05-06 15:41:28 UTC (rev 26398)
@@ -254,25 +254,6 @@
      * Convenience method to return a named logger, without the application
      * having to care about factories.
      *
-     * @param clazz Class for which a log name will be derived
-     * @param resBundles set of resource bundles to use for the logger
-     *
-     * @deprecated Note: This implementation is optimised for using a single per-module resource bundle or direct
-     *   resource use of multiple resource bundles reduces performance -- use this only if really necessary.
-     */
-    public static Logi18n getLogi18n(Class clazz, String[] resBundles) {
-        Logi18n log = null;
-        setupLogSystem();
-        AbstractLogInterface logInterface = m_logFactory.getLog(clazz);
-        log = new LogImpl((LogInterface) logInterface, resBundles);
-        log.setLevels(m_debugLevel, m_visLevel, m_facLevel);
-        return log;
-    }
-
-    /**
-     * Convenience method to return a named logger, without the application
-     * having to care about factories.
-     *
      * @param name Logical name of the <code>Log</code> instance to be
      *  returned (the meaning of this name is only known to the underlying
      *  logging implementation that is being wrapped)
@@ -288,24 +269,6 @@
     }
 
     /**
-     * Convenience method to return a named logger, without the application
-     * having to care about factories.
-     *
-     * @param name Logical name of the <code>Log</code> instance to be
-     *  returned (the meaning of this name is only known to the underlying
-     *  logging implementation that is being wrapped)
-     * @param resBundles set of resource bundles to use for the logger
-     */
-    public static Logi18n getLogi18n(String name, String[] resBundles) {
-        Logi18n log = null;
-        setupLogSystem();
-        AbstractLogInterface logInterface = m_logFactory.getLog(name);
-        log = new LogImpl((LogInterface) logInterface, resBundles);
-        log.setLevels(m_debugLevel, m_visLevel, m_facLevel);
-        return log;
-    }
-
-    /**
      * set up the log subsystem to use.
      */
     private static synchronized void setupLogSystem() {

Modified: labs/jbosstm/trunk/common/classes/com/arjuna/common/util/logging/LogNoi18n.java
===================================================================
--- labs/jbosstm/trunk/common/classes/com/arjuna/common/util/logging/LogNoi18n.java	2009-05-06 14:27:57 UTC (rev 26397)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/util/logging/LogNoi18n.java	2009-05-06 15:41:28 UTC (rev 26398)
@@ -1,20 +1,20 @@
 /*
  * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors 
- * as indicated by the @author tags. 
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
  * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
+ * full listing of individual contributors.
  * This copyrighted material is made available to anyone wishing to use,
  * modify, copy, or redistribute it subject to the terms and conditions
  * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  * You should have received a copy of the GNU Lesser General Public License,
  * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  * MA  02110-1301, USA.
- * 
+ *
  * (C) 2005-2006,
  * @author JBoss Inc.
  */
@@ -195,6 +195,8 @@
     * to log only if the DEBUG level is allowed and fl is either equals or greater the facility code level assigned to
     * the logger Object
     * @param message The message to log.
+    *
+    * @deprecated
     */
    void debug(long dl, long vl, long fl, Object message);
 

Modified: labs/jbosstm/trunk/common/classes/com/arjuna/common/util/logging/Logi18n.java
===================================================================
--- labs/jbosstm/trunk/common/classes/com/arjuna/common/util/logging/Logi18n.java	2009-05-06 14:27:57 UTC (rev 26397)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/util/logging/Logi18n.java	2009-05-06 15:41:28 UTC (rev 26398)
@@ -1,20 +1,20 @@
 /*
  * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors 
- * as indicated by the @author tags. 
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
  * See the copyright.txt in the distribution for a
- * full listing of individual contributors. 
+ * full listing of individual contributors.
  * This copyrighted material is made available to anyone wishing to use,
  * modify, copy, or redistribute it subject to the terms and conditions
  * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A 
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  * You should have received a copy of the GNU Lesser General Public License,
  * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  * MA  02110-1301, USA.
- * 
+ *
  * (C) 2005-2006,
  * @author JBoss Inc.
  */
@@ -117,14 +117,6 @@
    void debug(String key);
 
    /**
-    * Log a throwable message with DEBUG Level
-    *
-    * @param throwable The Throwable to log
-    * @deprecated Use debug(String key, Throwable throwable) instead
-    */
-   void debug(Throwable throwable);
-
-   /**
     * Log a message with the DEBUG Level and with a throwable arguments
     * @param key resource bundle key for the message to log
     * @param throwable The Throwable to log
@@ -158,13 +150,6 @@
    void info(String key);
 
    /**
-    * Log a throwable message with te INFO Level
-    * @param throwable The Throwable to log
-    * @deprecated Use info(String key, Throwable throwable) instead
-    */
-   void info(Throwable throwable);
-
-   /**
     * Log a message with the INFO Level and with a throwable arguments
     * @param key resource bundle key for the message to log
     * @param throwable Throwable associated to the logging message
@@ -196,13 +181,6 @@
    void warn(String key);
 
    /**
-    * Log a throwable message with te WARN Level
-    * @param throwable Throwable associated with the logging request
-    * @deprecated Use warn(String key, Throwable throwable) instead
-    */
-   void warn(Throwable throwable);
-
-   /**
     * Log a message with the WARN Level and with a throwable arguments
     * @param key resource bundle key for the message to log
     * @param throwable Throwable associated with the logging request
@@ -234,13 +212,6 @@
    void error(String key);
 
    /**
-    * Log a throwable message with te ERROR Level
-    * @param throwable Throwable associated with the logging request
-    * @deprecated Use error(String key, Throwable throwable) instead
-    */
-   void error(Throwable throwable);
-
-   /**
     * Log a message with the ERROR Level and with a throwable arguments
     * @param key resource bundle key for the message to log
     * @param throwable Throwable associated with the logging request
@@ -271,13 +242,6 @@
    void fatal(String key);
 
    /**
-    * Log a throwable message with te FATAL Level
-    * @param throwable Throwable associated with the logging request
-    * @deprecated Use fatal(String key, Throwable throwable) instead
-    */
-   void fatal(Throwable throwable);
-
-   /**
     * Log a message with the FATAL Level and with a throwable arguments
     * @param key resource bundle key for the message to log
     * @param throwable Throwable associated with the logging request
@@ -467,6 +431,7 @@
     * Log a message with the DEBUG Level
     * @param baseName The name of resource bundle to localize message
     * @param key The resource bundle key to retrieve a localised string
+    * @deprecated
     */
    void debugb(String baseName, String key);
 
@@ -476,6 +441,7 @@
     * @param baseName The name of resource bundle to localize message
     * @param key The resource bundle key to retrieve a localised string
     * @param throwable Throwable associated with the log message
+    * @deprecated
     */
    void debugb(String baseName, String key, Throwable throwable);
 
@@ -484,6 +450,7 @@
     * @param baseName The name of resource bundle to localize message
     * @param key The resource bundle key to retrieve a localised string
     * @param params parameters passed to the message
+    * @deprecated
     */
    void debugb(String baseName, String key, Object[] params);
 
@@ -493,6 +460,7 @@
     * @param key The resource bundle key to retrieve a localised string
     * @param params parameters passed to the message
     * @param throwable Throwable associated with the log message
+    * @deprecated
     */
    void debugb(String baseName, String key, Object[] params, Throwable throwable);
 
@@ -505,6 +473,7 @@
     * Log a message with the INFO Level
     * @param baseName The name of resource bundle to localize message
     * @param key resource bundle key for the message to log
+    * @deprecated
     */
    void infob(String baseName, String key);
 
@@ -513,6 +482,7 @@
     * @param baseName The name of resource bundle to localize message
     * @param key resource bundle key for the message to log
     * @param throwable Throwable associated with the log message
+    * @deprecated
     */
    void infob(String baseName, String key, Throwable throwable);
 
@@ -521,6 +491,7 @@
     * @param baseName The name of resource bundle to localize message
     * @param key resource bundle key for the message to log
     * @param params parameters passed to the message
+    * @deprecated
     */
    void infob(String baseName, String key, Object[] params);
 
@@ -530,6 +501,7 @@
     * @param key resource bundle key for the message to log
     * @param params parameters passed to the message
     * @param throwable Throwable associated with the log message
+    * @deprecated
     */
    void infob(String baseName, String key, Object[] params, Throwable throwable);
 
@@ -540,6 +512,7 @@
     * Log a message with the WARN Level
     * @param baseName The name of resource bundle to localize message
     * @param key resource bundle key for the message to log
+    * @deprecated
     */
    void warnb(String baseName, String key);
 
@@ -548,6 +521,7 @@
     * @param baseName The name of resource bundle to localize message
     * @param key resource bundle key for the message to log
     * @param throwable Throwable associated with the log message
+    * @deprecated
     */
    void warnb(String baseName, String key, Throwable throwable);
 
@@ -556,6 +530,7 @@
     * @param baseName The name of resource bundle to localize message
     * @param key resource bundle key for the message to log
     * @param params parameters passed to the message
+    * @deprecated
     */
    void warnb(String baseName, String key, Object[] params);
 
@@ -565,6 +540,7 @@
     * @param key resource bundle key for the message to log
     * @param params parameters passed to the message
     * @param throwable Throwable associated with the log message
+    * @deprecated
     */
    void warnb(String baseName, String key, Object[] params, Throwable throwable);
 
@@ -575,6 +551,7 @@
     * Log a message with the ERROR Level
     * @param baseName The name of resource bundle to localize message
     * @param key resource bundle key for the message to log
+    * @deprecated
     */
    void errorb(String baseName, String key);
 
@@ -583,6 +560,7 @@
     * @param baseName The name of resource bundle to localize message
     * @param key resource bundle key for the message to log
     * @param throwable Throwable associated with the log message
+    * @deprecated
     */
    void errorb(String baseName, String key, Throwable throwable);
 
@@ -591,6 +569,7 @@
     * @param baseName The name of resource bundle to localize message
     * @param key resource bundle key for the message to log
     * @param params parameters passed to the message
+    * @deprecated
     */
    void errorb(String baseName, String key, Object[] params);
 
@@ -601,6 +580,7 @@
     * @param key resource bundle key for the message to log
     * @param params parameters passed to the message
     * @param throwable Throwable associated with the log message
+    * @deprecated
     */
    void errorb(String baseName, String key, Object[] params, Throwable throwable);
 
@@ -612,6 +592,7 @@
     * Log a message with the FATAL Level
     * @param baseName The name of resource bundle to localize message
     * @param key resource bundle key for the message to log
+    * @deprecated
     */
    void fatalb(String baseName, String key);
 
@@ -621,6 +602,7 @@
     * @param baseName The name of resource bundle to localize message
     * @param key resource bundle key for the message to log
     * @param throwable Throwable associated with the log message
+    * @deprecated
     */
    void fatalb(String baseName, String key, Throwable throwable);
 
@@ -630,6 +612,7 @@
     * @param baseName The name of resource bundle to localize message
     * @param key resource bundle key for the message to log
     * @param params parameters passed to the message
+    * @deprecated
     */
    void fatalb(String baseName, String key, Object[] params);
 
@@ -640,6 +623,7 @@
     * @param key resource bundle key for the message to log
     * @param params parameters passed to the message
     * @param throwable Throwable associated with the log message
+    * @deprecated
     */
    void fatalb(String baseName, String key, Object[] params, Throwable throwable);
 




More information about the jboss-svn-commits mailing list