src/java.transaction/share/classes/javax/transaction/TransactionRequiredException.java

Print this page




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 /*
  26  * Licensed Materials - Property of IBM
  27  * RMI-IIOP v1.0
  28  * Copyright IBM Corp. 1998 1999  All Rights Reserved
  29  *
  30  */
  31 
  32 package javax.transaction;
  33 
  34 /**
  35  * This exception indicates that a request carried a null transaction context,
  36  * but the target object requires an activate transaction.
  37  */
  38 @SuppressWarnings("serial")             // serialVersionUID intentionally omitted
  39 public class TransactionRequiredException extends java.rmi.RemoteException {
  40 
  41     /**





  42      * Constructs a {@code TransactionRequiredException}.
  43      */
  44     public TransactionRequiredException() {
  45         super();
  46     }
  47 
  48     /**
  49      * Constructs a {@code TransactionRequiredException}.
  50      * @param msg the detail message
  51      */
  52     public TransactionRequiredException(String msg) {
  53         super(msg);
  54     }
  55 }


  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 /*
  26  * Licensed Materials - Property of IBM
  27  * RMI-IIOP v1.0
  28  * Copyright IBM Corp. 1998 1999  All Rights Reserved
  29  *
  30  */
  31 
  32 package javax.transaction;
  33 
  34 /**
  35  * This exception indicates that a request carried a null transaction context,
  36  * but the target object requires an activate transaction.
  37  */
  38 @SuppressWarnings("serial")             // serialVersionUID intentionally omitted
  39 public class TransactionRequiredException extends java.rmi.RemoteException {
  40     
  41     /**
  42      * Specify serialVersionUID for backward compatibility
  43      */
  44     private static final long serialVersionUID = -1898806419937446439L;
  45 
  46     /**
  47      * Constructs a {@code TransactionRequiredException}.
  48      */
  49     public TransactionRequiredException() {
  50         super();
  51     }
  52 
  53     /**
  54      * Constructs a {@code TransactionRequiredException}.
  55      * @param msg the detail message
  56      */
  57     public TransactionRequiredException(String msg) {
  58         super(msg);
  59     }
  60 }