org.apache.derby.client.am
Class SQLExceptionFactory

java.lang.Object
  extended by org.apache.derby.client.am.SQLExceptionFactory
Direct Known Subclasses:
SQLExceptionFactory40

public class SQLExceptionFactory
extends java.lang.Object

class to create SQLException


Constructor Summary
SQLExceptionFactory()
           
 
Method Summary
 java.sql.SQLException getSQLException(java.lang.String message, java.lang.String sqlState, int errCode)
          creates SQLException initialized with all the params received from the caller.
static java.sql.SQLException notImplemented(java.lang.String feature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLExceptionFactory

public SQLExceptionFactory()
Method Detail

notImplemented

public static java.sql.SQLException notImplemented(java.lang.String feature)

getSQLException

public java.sql.SQLException getSQLException(java.lang.String message,
                                             java.lang.String sqlState,
                                             int errCode)
creates SQLException initialized with all the params received from the caller. This method will be overwritten to support jdbc version specific exception class.


Built on Thu 2011-03-10 11:54:14+0000, from revision ???

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