org.melati.poem
Class ExecutingSQLPoemException

Package class diagram package ExecutingSQLPoemException
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.NormalPoemException
                      extended by org.melati.poem.SQLPoemException
                          extended by org.melati.poem.ExecutingSQLPoemException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DuplicateKeySQLPoemException

public class ExecutingSQLPoemException
extends SQLPoemException

Thrown when there is a problem executing an SQL command.

See Also:
Serialized Form

Field Summary
 String sql
          The raw SQL we were trying to execute.
 
Fields inherited from class org.melati.poem.PoemException
subException
 
Constructor Summary
ExecutingSQLPoemException(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
 

Field Detail

sql

public String sql
The raw SQL we were trying to execute.

Constructor Detail

ExecutingSQLPoemException

public ExecutingSQLPoemException(String sql,
                                 SQLException e)
Constructor.

Method Detail

getMessage

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

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


Copyright © 2000-2010 PanEris. All Rights Reserved.