Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.client.am
Class SqlWarning  view SqlWarning download SqlWarning.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.sql.SQLException
              extended byjava.sql.SQLWarning
                  extended byorg.apache.derby.client.am.SqlWarning
All Implemented Interfaces:
Diagnosable, java.io.Serializable

public class SqlWarning
extends java.sql.SQLWarning
implements Diagnosable


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
protected  Sqlca sqlca_
           
private  java.lang.Throwable throwable_
           
 
Fields inherited from class java.sql.SQLWarning
 
Fields inherited from class java.sql.SQLException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
SqlWarning(LogWriter logWriter)
           
SqlWarning(LogWriter logWriter, ErrorKey errorKey)
           
SqlWarning(LogWriter logWriter, ErrorKey errorKey, java.lang.Object arg)
           
SqlWarning(LogWriter logWriter, ErrorKey errorKey, java.lang.Object[] args)
           
SqlWarning(LogWriter logWriter, Sqlca sqlca)
           
SqlWarning(LogWriter logWriter, java.lang.String text)
           
SqlWarning(LogWriter logWriter, java.lang.String text, SqlState sqlState)
           
SqlWarning(LogWriter logWriter, java.lang.String text, SqlState sqlState, SqlCode errorCode)
           
SqlWarning(LogWriter logWriter, java.lang.String text, java.lang.String sqlState)
           
SqlWarning(LogWriter logWriter, java.lang.String text, java.lang.String sqlState, int errorCode)
           
SqlWarning(LogWriter logWriter, java.lang.Throwable throwable, java.lang.String text)
           
 
Method Summary
 int getErrorCode()
          This method returns the vendor specific error code associated with this error.
 java.lang.String getMessage()
          Get the message associated with this Throwable.
 Sqlca getSqlca()
           
 java.lang.String getSQLState()
          This method returns the SQLState information associated with this error.
 java.lang.Throwable getThrowable()
           
 void printTrace(java.io.PrintWriter printWriter, java.lang.String header)
           
 
Methods inherited from class java.sql.SQLWarning
getNextWarning, setNextWarning
 
Methods inherited from class java.sql.SQLException
getNextException, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

throwable_

private java.lang.Throwable throwable_

sqlca_

protected Sqlca sqlca_
Constructor Detail

SqlWarning

public SqlWarning(LogWriter logWriter,
                  ErrorKey errorKey)

SqlWarning

public SqlWarning(LogWriter logWriter,
                  ErrorKey errorKey,
                  java.lang.Object[] args)

SqlWarning

public SqlWarning(LogWriter logWriter,
                  ErrorKey errorKey,
                  java.lang.Object arg)

SqlWarning

public SqlWarning(LogWriter logWriter,
                  Sqlca sqlca)

SqlWarning

public SqlWarning(LogWriter logWriter)

SqlWarning

public SqlWarning(LogWriter logWriter,
                  java.lang.String text)

SqlWarning

public SqlWarning(LogWriter logWriter,
                  java.lang.Throwable throwable,
                  java.lang.String text)

SqlWarning

public SqlWarning(LogWriter logWriter,
                  java.lang.String text,
                  SqlState sqlState)

SqlWarning

public SqlWarning(LogWriter logWriter,
                  java.lang.String text,
                  java.lang.String sqlState)

SqlWarning

public SqlWarning(LogWriter logWriter,
                  java.lang.String text,
                  SqlState sqlState,
                  SqlCode errorCode)

SqlWarning

public SqlWarning(LogWriter logWriter,
                  java.lang.String text,
                  java.lang.String sqlState,
                  int errorCode)
Method Detail

getThrowable

public java.lang.Throwable getThrowable()
Specified by:
getThrowable in interface Diagnosable

getSqlca

public Sqlca getSqlca()
Specified by:
getSqlca in interface Diagnosable

getMessage

public java.lang.String getMessage()
Description copied from class: java.lang.Throwable
Get the message associated with this Throwable.


getSQLState

public java.lang.String getSQLState()
Description copied from class: java.sql.SQLException
This method returns the SQLState information associated with this error. The value returned is a String which is formatted using the XOPEN SQL state conventions.


getErrorCode

public int getErrorCode()
Description copied from class: java.sql.SQLException
This method returns the vendor specific error code associated with this error.


printTrace

public void printTrace(java.io.PrintWriter printWriter,
                       java.lang.String header)
Specified by:
printTrace in interface Diagnosable