src/java.sql/share/classes/javax/transaction/xa/XAException.java
Print this page
@@ -29,11 +29,15 @@
* The XAException is thrown by the Resource Manager (RM) to inform the
* Transaction Manager of an error encountered by the involved transaction.
*
*/
public class XAException extends Exception {
- //private static final long serialVersionUID = -8249683284832867751L;
+
+ /**
+ * Specify serialVersionUID for backward compatibility
+ */
+ private static final long serialVersionUID = -8249683284832867751L;
/**
* The error code with which to create the SystemException.
*
* @serial The error code for the exception