org.melati.poem
Class ExecutingSQLSeriousPoemException

Package class diagram package ExecutingSQLSeriousPoemException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.melati.poem.PoemException
                  extended by org.melati.poem.SeriousPoemException
                      extended by org.melati.poem.SQLSeriousPoemException
                          extended by org.melati.poem.ExecutingSQLSeriousPoemException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SimplePrepareFailedPoemException, StructuralModificationFailedPoemException

public class ExecutingSQLSeriousPoemException
extends SQLSeriousPoemException

Thrown when there is a problem exceuting an SQL command and it really matters.

Author:
WilliamC@paneris.org
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.melati.poem.SQLSeriousPoemException
sql
 
Fields inherited from class org.melati.poem.PoemException
subException
 
Constructor Summary
ExecutingSQLSeriousPoemException(String sql, SQLException e)
          Constructor.
 
Method Summary
 String getMessage()
          The detail message which may be null.
 
Methods inherited from class org.melati.poem.PoemException
getCoreMessage, initCause, innermostException, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecutingSQLSeriousPoemException

public ExecutingSQLSeriousPoemException(String sql,
                                        SQLException e)
Constructor.

Parameters:
sql - the SQL statement that provoked the problem
e - the JDBC driver exception caught
Method Detail

getMessage

public String getMessage()
Description copied from class: PoemException
The detail message which may be null.

Overrides:
getMessage in class SQLSeriousPoemException
Returns:
The detail message.
See Also:
Throwable.getMessage()


Copyright © 2000-2010 PanEris. All Rights Reserved.