to top
Android APIs
public class

SQLTransactionRollbackException

extends SQLTransientException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.sql.SQLException
         ↳ java.sql.SQLTransientException
           ↳ java.sql.SQLTransactionRollbackException

Summary

Public Constructors
SQLTransactionRollbackException()
Creates an SQLTransactionRollbackException object.
SQLTransactionRollbackException(String reason)
Creates an SQLTransactionRollbackException object.
SQLTransactionRollbackException(String reason, String sqlState)
Creates an SQLTransactionRollbackException object.
SQLTransactionRollbackException(String reason, String sqlState, int vendorCode)
Creates an SQLTransactionRollbackException object.
SQLTransactionRollbackException(Throwable cause)
Creates an SQLTransactionRollbackException object.
SQLTransactionRollbackException(String reason, Throwable cause)
Creates an SQLTransactionRollbackException object.
SQLTransactionRollbackException(String reason, String sqlState, Throwable cause)
Creates an SQLTransactionRollbackException object.
SQLTransactionRollbackException(String reason, String sqlState, int vendorCode, Throwable cause)
Creates an SQLTransactionRollbackException object.
[Expand]
Inherited Methods
From class java.sql.SQLException
From class java.lang.Throwable
From class java.lang.Object
From interface java.lang.Iterable

Public Constructors

public SQLTransactionRollbackException ()

Since: API Level 9

Creates an SQLTransactionRollbackException object. The Reason string is set to null, the SQLState string is set to null and the Error Code is set to 0.

public SQLTransactionRollbackException (String reason)

Since: API Level 9

Creates an SQLTransactionRollbackException object. The Reason string is set to the given reason string, the SQLState string is set to null and the Error Code is set to 0.

Parameters
reason the string to use as the Reason string

public SQLTransactionRollbackException (String reason, String sqlState)

Since: API Level 9

Creates an SQLTransactionRollbackException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string and the Error Code is set to 0.

Parameters
reason the string to use as the Reason string
sqlState the string to use as the SQLState string

public SQLTransactionRollbackException (String reason, String sqlState, int vendorCode)

Since: API Level 9

Creates an SQLTransactionRollbackException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string and the Error Code is set to the given error code value.

Parameters
reason the string to use as the Reason string
sqlState the string to use as the SQLState string
vendorCode the integer value for the error code

public SQLTransactionRollbackException (Throwable cause)

Since: API Level 9

Creates an SQLTransactionRollbackException object. The Reason string is set to the null if cause == null or cause.toString() if cause!=null,and the cause Throwable object is set to the given cause Throwable object.

Parameters
cause the Throwable object for the underlying reason this SQLException

public SQLTransactionRollbackException (String reason, Throwable cause)

Since: API Level 9

Creates an SQLTransactionRollbackException object. The Reason string is set to the given and the cause Throwable object is set to the given cause Throwable object.

Parameters
reason the string to use as the Reason string
cause the Throwable object for the underlying reason this SQLException

public SQLTransactionRollbackException (String reason, String sqlState, Throwable cause)

Since: API Level 9

Creates an SQLTransactionRollbackException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string and the cause Throwable object is set to the given cause Throwable object.

Parameters
reason the string to use as the Reason string
sqlState the string to use as the SQLState string
cause the Throwable object for the underlying reason this SQLException

public SQLTransactionRollbackException (String reason, String sqlState, int vendorCode, Throwable cause)

Since: API Level 9

Creates an SQLTransactionRollbackException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string , the Error Code is set to the given error code value, and the cause Throwable object is set to the given cause Throwable object.

Parameters
reason the string to use as the Reason string
sqlState the string to use as the SQLState string
vendorCode the integer value for the error code
cause the Throwable object for the underlying reason this SQLException