org.apache.derby.client.am
Class SQLExceptionFactory40

java.lang.Object
  extended by org.apache.derby.client.am.SQLExceptionFactory
      extended by org.apache.derby.client.am.SQLExceptionFactory40

public class SQLExceptionFactory40
extends SQLExceptionFactory

SQLException factory class to create jdbc 40 exception classes


Field Summary
private static java.lang.String DRDA_COMMAND_NOT_SUPPORTED
           
private static java.lang.String DRDA_CONVERSATION_TERMINATED
           
private static java.lang.String DRDA_CONVERSION_NOT_SUPPORTED
           
private static java.lang.String DRDA_OBJECT_NOT_SUPPORTED
           
private static java.lang.String DRDA_PARAM_NOT_SUPPORTED
           
private static java.lang.String DRDA_REPLY_MSG_NOT_SUPPORTED
           
private static java.lang.String DRDA_SQLTYPE_NOT_SUPPORTED
           
private static java.lang.String DRDA_VALUE_NOT_SUPPORTED
           
 
Constructor Summary
SQLExceptionFactory40()
           
 
Method Summary
 java.sql.SQLException getSQLException(java.lang.String message, java.lang.String sqlState, int errCode)
          creates jdbc4.0 SQLException and its subclass based on sql state
 
Methods inherited from class org.apache.derby.client.am.SQLExceptionFactory
notImplemented
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DRDA_CONVERSATION_TERMINATED

private static final java.lang.String DRDA_CONVERSATION_TERMINATED
See Also:
Constant Field Values

DRDA_COMMAND_NOT_SUPPORTED

private static final java.lang.String DRDA_COMMAND_NOT_SUPPORTED
See Also:
Constant Field Values

DRDA_OBJECT_NOT_SUPPORTED

private static final java.lang.String DRDA_OBJECT_NOT_SUPPORTED
See Also:
Constant Field Values

DRDA_PARAM_NOT_SUPPORTED

private static final java.lang.String DRDA_PARAM_NOT_SUPPORTED
See Also:
Constant Field Values

DRDA_VALUE_NOT_SUPPORTED

private static final java.lang.String DRDA_VALUE_NOT_SUPPORTED
See Also:
Constant Field Values

DRDA_SQLTYPE_NOT_SUPPORTED

private static final java.lang.String DRDA_SQLTYPE_NOT_SUPPORTED
See Also:
Constant Field Values

DRDA_CONVERSION_NOT_SUPPORTED

private static final java.lang.String DRDA_CONVERSION_NOT_SUPPORTED
See Also:
Constant Field Values

DRDA_REPLY_MSG_NOT_SUPPORTED

private static final java.lang.String DRDA_REPLY_MSG_NOT_SUPPORTED
See Also:
Constant Field Values
Constructor Detail

SQLExceptionFactory40

public SQLExceptionFactory40()
Method Detail

getSQLException

public java.sql.SQLException getSQLException(java.lang.String message,
                                             java.lang.String sqlState,
                                             int errCode)
creates jdbc4.0 SQLException and its subclass based on sql state

Overrides:
getSQLException in class SQLExceptionFactory
Parameters:
message - description of the
sqlState -
errCode - derby error code

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.