[jboss-svn-commits] JBL Code SVN: r26431 - in labs/jbosstm/trunk: ArjunaCore/tsmx/classes/com/arjuna/ats/internal/tsmx/agent/exceptions and 7 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri May 8 07:52:11 EDT 2009


Author: jhalliday
Date: 2009-05-08 07:52:11 -0400 (Fri, 08 May 2009)
New Revision: 26431

Modified:
   labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/exceptions/FatalError.java
   labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/exceptions/ObjectStoreError.java
   labs/jbosstm/trunk/ArjunaCore/tsmx/classes/com/arjuna/ats/internal/tsmx/agent/exceptions/NotSupportedException.java
   labs/jbosstm/trunk/ArjunaCore/tsmx/classes/com/arjuna/ats/internal/tsmx/mbeans/MappingsNotFoundException.java
   labs/jbosstm/trunk/ArjunaCore/tsmx/classes/com/arjuna/ats/tsmx/agent/exceptions/AgentNotFoundException.java
   labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/exceptions/LockStoreException.java
   labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/InactiveTransactionException.java
   labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/InvalidTerminationStateException.java
   labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/NotImplementedException.java
   labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/UnexpectedConditionException.java
   labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/jts/exceptions/TxError.java
   labs/jbosstm/trunk/ArjunaJTS/orbportability/classes/com/arjuna/orbportability/exceptions/FatalError.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
Log:
Added serialVersionUID to Throwables. JBTM-549


Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/exceptions/FatalError.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/exceptions/FatalError.java	2009-05-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/exceptions/FatalError.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -44,6 +44,8 @@
 
 public class FatalError extends Error
 {
+    static final long serialVersionUID = -3878263281474052106L;
+
     /**
      * Constructs a new error with <code>null</code> as its detail message.
      * The cause is not initialized, and may subsequently be initialized by a

Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/exceptions/ObjectStoreError.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/exceptions/ObjectStoreError.java	2009-05-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/exceptions/ObjectStoreError.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -44,6 +44,8 @@
 
 public class ObjectStoreError extends Error
 {
+    static final long serialVersionUID = 1951283264836760439L;
+    
     /**
      * Constructs a new error with <code>null</code> as its detail message.
      * The cause is not initialized, and may subsequently be initialized by a

Modified: labs/jbosstm/trunk/ArjunaCore/tsmx/classes/com/arjuna/ats/internal/tsmx/agent/exceptions/NotSupportedException.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/tsmx/classes/com/arjuna/ats/internal/tsmx/agent/exceptions/NotSupportedException.java	2009-05-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/ArjunaCore/tsmx/classes/com/arjuna/ats/internal/tsmx/agent/exceptions/NotSupportedException.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -35,6 +35,8 @@
  */
 public class NotSupportedException extends Exception
 {
+    static final long serialVersionUID = 9060486491681857217L;
+    
     /**
      * Constructs a new exception with the specified cause and a detail
      * message of <tt>(cause==null ? null : cause.toString())</tt> (which

Modified: labs/jbosstm/trunk/ArjunaCore/tsmx/classes/com/arjuna/ats/internal/tsmx/mbeans/MappingsNotFoundException.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/tsmx/classes/com/arjuna/ats/internal/tsmx/mbeans/MappingsNotFoundException.java	2009-05-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/ArjunaCore/tsmx/classes/com/arjuna/ats/internal/tsmx/mbeans/MappingsNotFoundException.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -32,6 +32,8 @@
 
 public class MappingsNotFoundException extends Exception
 {
+    static final long serialVersionUID = -3207090445167241488L;
+    
     /**
      * Constructs a new exception with <code>null</code> as its detail message.
      * The cause is not initialized, and may subsequently be initialized by a

Modified: labs/jbosstm/trunk/ArjunaCore/tsmx/classes/com/arjuna/ats/tsmx/agent/exceptions/AgentNotFoundException.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/tsmx/classes/com/arjuna/ats/tsmx/agent/exceptions/AgentNotFoundException.java	2009-05-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/ArjunaCore/tsmx/classes/com/arjuna/ats/tsmx/agent/exceptions/AgentNotFoundException.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -32,6 +32,8 @@
 
 public class AgentNotFoundException extends Exception
 {
+    static final long serialVersionUID = 9022506088052261418L;
+    
     /**
      * Constructs a new exception with <code>null</code> as its detail message.
      * The cause is not initialized, and may subsequently be initialized by a

Modified: labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/exceptions/LockStoreException.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/exceptions/LockStoreException.java	2009-05-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/exceptions/LockStoreException.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -44,6 +44,8 @@
 
 public class LockStoreException extends Exception
 {
+    static final long serialVersionUID = -2279290201672202208L;
+    
     /**
      * Constructs a new exception with <code>null</code> as its detail message.
      * The cause is not initialized, and may subsequently be initialized by a

Modified: labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/InactiveTransactionException.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/InactiveTransactionException.java	2009-05-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/InactiveTransactionException.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -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.
  */
@@ -24,7 +24,7 @@
  * Arjuna Solutions Limited,
  * Newcastle upon Tyne,
  * Tyne and Wear,
- * UK.  
+ * UK.
  *
  * $Id: NotImplementedException.java 2342 2006-03-30 13:06:17Z  $
  */
@@ -43,7 +43,8 @@
 
 public class InactiveTransactionException extends SystemException
 {
-
+    static final long serialVersionUID = -8288622240488128416L;
+    
     public InactiveTransactionException ()
     {
 	super();
@@ -53,6 +54,6 @@
     {
 	super(s);
     }
-    
+
 }
 

Modified: labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/InvalidTerminationStateException.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/InvalidTerminationStateException.java	2009-05-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/InvalidTerminationStateException.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -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.
  */
@@ -24,7 +24,7 @@
  * Arjuna Solutions Limited,
  * Newcastle upon Tyne,
  * Tyne and Wear,
- * UK.  
+ * UK.
  *
  * $Id: NotImplementedException.java 2342 2006-03-30 13:06:17Z  $
  */
@@ -43,7 +43,8 @@
 
 public class InvalidTerminationStateException extends SystemException
 {
-
+    static final long serialVersionUID = 2194094002071886192L;
+    
     public InvalidTerminationStateException ()
     {
 	super();
@@ -53,6 +54,6 @@
     {
 	super(s);
     }
-    
+
 }
 

Modified: labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/NotImplementedException.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/NotImplementedException.java	2009-05-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/NotImplementedException.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -43,6 +43,8 @@
 
 public class NotImplementedException extends Exception
 {
+    static final long serialVersionUID = -2708657802308998286L;
+
     /**
      * Constructs a new exception with <code>null</code> as its detail message.
      * The cause is not initialized, and may subsequently be initialized by a

Modified: labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/UnexpectedConditionException.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/UnexpectedConditionException.java	2009-05-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/exceptions/UnexpectedConditionException.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -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.
  */
@@ -24,7 +24,7 @@
  * Arjuna Solutions Limited,
  * Newcastle upon Tyne,
  * Tyne and Wear,
- * UK.  
+ * UK.
  *
  * $Id: NotImplementedException.java 2342 2006-03-30 13:06:17Z  $
  */
@@ -43,7 +43,8 @@
 
 public class UnexpectedConditionException extends SystemException
 {
-
+    static final long serialVersionUID = -2536448376471820651L;
+    
     public UnexpectedConditionException ()
     {
 	super();
@@ -53,6 +54,6 @@
     {
 	super(s);
     }
-    
+
 }
 

Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/jts/exceptions/TxError.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/jts/exceptions/TxError.java	2009-05-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/jts/exceptions/TxError.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -1,8 +1,8 @@
 /*
  * JBoss, Home of Professional Open Source
  * 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 
+ * as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a 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
@@ -14,7 +14,7 @@
  * v.2.1 along with this distribution; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  * MA  02110-1301, USA.
- * 
+ *
  * (C) 2005-2006,
  * @author JBoss Inc.
  */
@@ -24,7 +24,7 @@
  * Hewlett-Packard Arjuna Labs,
  * Newcastle upon Tyne,
  * Tyne and Wear,
- * UK.  
+ * UK.
  *
  * $Id: TxError.java 2342 2006-03-30 13:06:17Z  $
  */
@@ -43,14 +43,15 @@
 
 public class TxError extends Error
 {
-
-public TxError ()
+    static final long serialVersionUID = -175416083725473793L;
+    
+    public TxError ()
     {
-	super();
+        super();
     }
 
-public TxError (String s)
+    public TxError (String s)
     {
-	super(s);
+        super(s);
     }
 }

Modified: labs/jbosstm/trunk/ArjunaJTS/orbportability/classes/com/arjuna/orbportability/exceptions/FatalError.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/orbportability/classes/com/arjuna/orbportability/exceptions/FatalError.java	2009-05-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/ArjunaJTS/orbportability/classes/com/arjuna/orbportability/exceptions/FatalError.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -1,8 +1,8 @@
 /*
  * JBoss, Home of Professional Open Source
  * 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 
+ * as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a 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
@@ -14,7 +14,7 @@
  * v.2.1 along with this distribution; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  * MA  02110-1301, USA.
- * 
+ *
  * (C) 2005-2006,
  * @author JBoss Inc.
  */
@@ -33,6 +33,8 @@
 
 public class FatalError extends Error
 {
+    static final long serialVersionUID = -9060909679329943146L;
+
     public FatalError()
     {
         super();

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-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/LoadPropertiesException.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -33,6 +33,8 @@
 
 public class LoadPropertiesException extends Exception
 {
+    static final long serialVersionUID = 3399885534011195787L;
+    
     /**
      * Constructs a new exception with <code>null</code> as its detail message.
      * The cause is not initialized, and may subsequently be initialized by a

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-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/LogConfigurationException.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -39,6 +39,8 @@
  */
 public class LogConfigurationException extends RuntimeException
 {
+    static final long serialVersionUID = 9209718713963293426L;
+    
     /**
      * Constructs a new runtime exception with <code>null</code> as its
      * detail message.  The cause is not initialized, and may subsequently be

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-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/ManagementPluginException.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -33,6 +33,8 @@
 
 public class ManagementPluginException extends Exception
 {
+    static final long serialVersionUID = -575951072304555978L;
+    
     /**
      * Constructs a new exception with <code>null</code> as its detail message.
      * The cause is not initialized, and may subsequently be initialized by a

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-08 11:43:20 UTC (rev 26430)
+++ labs/jbosstm/trunk/common/classes/com/arjuna/common/util/exceptions/SavePropertiesException.java	2009-05-08 11:52:11 UTC (rev 26431)
@@ -33,6 +33,8 @@
 
 public class SavePropertiesException extends Exception
 {
+    static final long serialVersionUID = -2995710393937448490L;
+    
     /**
      * Constructs a new exception with <code>null</code> as its detail message.
      * The cause is not initialized, and may subsequently be initialized by a




More information about the jboss-svn-commits mailing list