< prev index next >

src/java.sql.rowset/share/classes/javax/sql/rowset/spi/SyncProviderException.java

Print this page




  53  * each conflict in a row and then go to the next row with a conflict to
  54  * repeat the procedure.
  55  * <P>
  56  * A <code>SyncProviderException</code> object may or may not contain a description of the
  57  * condition causing the exception.  The inherited method <code>getMessage</code> may be
  58  * called to retrieve the description if there is one.
  59  *
  60  * @author Jonathan Bruce
  61  * @see javax.sql.rowset.spi.SyncFactory
  62  * @see javax.sql.rowset.spi.SyncResolver
  63  * @see javax.sql.rowset.spi.SyncFactoryException
  64  * @since 1.5
  65  */
  66 public class SyncProviderException extends java.sql.SQLException {
  67 
  68     /**
  69      * The instance of <code>javax.sql.rowset.spi.SyncResolver</code> that
  70      * this <code>SyncProviderException</code> object will return when its
  71      * <code>getSyncResolver</code> method is called.
  72      */

  73      private SyncResolver syncResolver = null;
  74 
  75     /**
  76      * Creates a new <code>SyncProviderException</code> object without a detail message.
  77      */
  78     public SyncProviderException() {
  79         super();
  80     }
  81 
  82     /**
  83      * Constructs a <code>SyncProviderException</code> object with the specified
  84      * detail message.
  85      *
  86      * @param msg the detail message
  87      */
  88     public SyncProviderException(String msg)  {
  89         super(msg);
  90     }
  91 
  92     /**




  53  * each conflict in a row and then go to the next row with a conflict to
  54  * repeat the procedure.
  55  * <P>
  56  * A <code>SyncProviderException</code> object may or may not contain a description of the
  57  * condition causing the exception.  The inherited method <code>getMessage</code> may be
  58  * called to retrieve the description if there is one.
  59  *
  60  * @author Jonathan Bruce
  61  * @see javax.sql.rowset.spi.SyncFactory
  62  * @see javax.sql.rowset.spi.SyncResolver
  63  * @see javax.sql.rowset.spi.SyncFactoryException
  64  * @since 1.5
  65  */
  66 public class SyncProviderException extends java.sql.SQLException {
  67 
  68     /**
  69      * The instance of <code>javax.sql.rowset.spi.SyncResolver</code> that
  70      * this <code>SyncProviderException</code> object will return when its
  71      * <code>getSyncResolver</code> method is called.
  72      */
  73      @SuppressWarnings("serial") // Not statically typed as Serializable
  74      private SyncResolver syncResolver = null;
  75 
  76     /**
  77      * Creates a new <code>SyncProviderException</code> object without a detail message.
  78      */
  79     public SyncProviderException() {
  80         super();
  81     }
  82 
  83     /**
  84      * Constructs a <code>SyncProviderException</code> object with the specified
  85      * detail message.
  86      *
  87      * @param msg the detail message
  88      */
  89     public SyncProviderException(String msg)  {
  90         super(msg);
  91     }
  92 
  93     /**


< prev index next >