org.apache.ojb.broker
Class PersistenceBrokerSQLException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.commons.lang.exception.NestableRuntimeException
                  extended byorg.apache.ojb.broker.OJBRuntimeException
                      extended byorg.apache.ojb.broker.PersistenceBrokerException
                          extended byorg.apache.ojb.broker.PersistenceBrokerSQLException
All Implemented Interfaces:
org.apache.commons.lang.exception.Nestable, java.io.Serializable
Direct Known Subclasses:
KeyConstraintViolatedException

public class PersistenceBrokerSQLException
extends PersistenceBrokerException

Version:
$Id: PersistenceBrokerSQLException.java,v 1.8.2.1 2004/12/12 01:49:43 arminw Exp $
Author:
Thomas Mahler
See Also:
Serialized Form

Constructor Summary
PersistenceBrokerSQLException()
           
PersistenceBrokerSQLException(java.sql.SQLException t)
           
PersistenceBrokerSQLException(java.lang.String message)
           
PersistenceBrokerSQLException(java.lang.String message, java.sql.SQLException t)
           
 
Method Summary
 java.lang.String getSQLState()
          Returns the SQLState of the underlying SQLException.
 
Methods inherited from class org.apache.ojb.broker.PersistenceBrokerException
getSourceException
 
Methods inherited from class org.apache.commons.lang.exception.NestableRuntimeException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistenceBrokerSQLException

public PersistenceBrokerSQLException()

PersistenceBrokerSQLException

public PersistenceBrokerSQLException(java.sql.SQLException t)

PersistenceBrokerSQLException

public PersistenceBrokerSQLException(java.lang.String message)

PersistenceBrokerSQLException

public PersistenceBrokerSQLException(java.lang.String message,
                                     java.sql.SQLException t)
Method Detail

getSQLState

public java.lang.String getSQLState()
Returns the SQLState of the underlying SQLException.



(C) 2002 - 2004 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.3, 2005-04-2