com.finalist.tools.database
Class ExecutionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.finalist.tools.database.ExecutionException
All Implemented Interfaces:
java.io.Serializable

public class ExecutionException
extends java.lang.RuntimeException

ExecutionException class. This exception is the catch-all exception that is thrown when anything goes wrong executing a statement using the StatementExecutor.

Version:
1.0
Author:
P.S.D.Reitsma, Finalist IT Group
See Also:
Serialized Form

Constructor Summary
ExecutionException(NotMappableException rootNotMappableException)
          Constructor that takes a NotMappableException as an argument.
ExecutionException(java.sql.SQLException rootSQLException)
          Constructor that takes a SQLException as an argument.
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecutionException

public ExecutionException(java.sql.SQLException rootSQLException)
Constructor that takes a SQLException as an argument.

Parameters:
rootSQLException - SQLException

ExecutionException

public ExecutionException(NotMappableException rootNotMappableException)
Constructor that takes a NotMappableException as an argument.

Parameters:
rootNotMappableException - SQLException
Method Detail

getMessage

public java.lang.String getMessage()
Returns:
the error message


Copyright © 2003-2004 SourceForge. All Rights Reserved.