public class java.sql
SQLRuntimeException


Show All Login
Java SE 6
  
Extends: Throwable > Exception > RuntimeException
Extended by: SQLDataSetSyncException
Details
The subclass of RuntimeException which is thrown by the ease of development APIs, such as DataSet.
since1.6

Constructors
public SQLRuntimeException(String reason) Details
Constructs a SQLRuntimeException object with a given reason. The cause is not initialized, and may subsequently be initialized by a call to the Throwable#initCause(java.lang.Throwable) method.

reasona description of the exception

public SQLRuntimeException(Throwable cause) Details
Constructs a SQLRuntimeException object with a given cause. The reason is initialized to null if cause==null or to cause.toString() if cause!=null.

causethe underlying reason for this SQLRuntimeException (which is saved for later retrieval by the getCause() method); may be null indicating the cause is non-existent or unknown.
since1.6

public SQLRuntimeException(String reason, Throwable cause) Details
Constructs a SQLRuntimeException object with a given reason and cause.
reasona description of the exception.
causethe underlying reason for this SQLRuntimeException (which is saved for later retrieval by the getCause() method); may be null indicating the cause is non-existent or unknown.
since1.6