java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.sql.SQLRuntimeException
public class SQLRuntimeException
The subclass of RuntimeException which is thrown by 
 the ease of development APIs, such as DataSet.
| Constructor Summary | |
|---|---|
| SQLRuntimeException(String reason)Constructs a SQLRuntimeExceptionobject with a givenreason. | |
| SQLRuntimeException(String reason,
                    Throwable cause)Constructs a SQLRuntimeExceptionobject with a givenreasonandcause. | |
| SQLRuntimeException(Throwable cause)Constructs a SQLRuntimeExceptionobject with a givencause. | |
| Method Summary | 
|---|
| Methods inherited from class java.lang.Throwable | 
|---|
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public SQLRuntimeException(String reason)
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.
 
reason - a description of the exceptionpublic SQLRuntimeException(Throwable cause)
SQLRuntimeException object with a given
 cause.
 The reason  is initialized to null if 
 cause==null or to cause.toString() if 
 cause!=null.
 
cause - the 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.
public SQLRuntimeException(String reason,
                           Throwable cause)
SQLRuntimeException object with a given
 reason and  cause.
reason - a description of the exception.cause - the 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.