org.jaffa.persistence.engines.jdbcengine.datasource.exceptions
Class DataSourceCursorRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.jaffa.exceptions.CustomRuntimeException
                  extended byorg.jaffa.persistence.engines.jdbcengine.datasource.exceptions.DataSourceCursorRuntimeException
All Implemented Interfaces:
Serializable

public class DataSourceCursorRuntimeException
extends CustomRuntimeException

This exception is thrown if the any exception is thrown while converting a row from a ResultSet into a Persistent object. It is also thrown by the hasNext() and next() methods of the custom Iterator, since they cannot throw a regular exception.

See Also:
Serialized Form

Constructor Summary
DataSourceCursorRuntimeException()
          Constructs a new exception.
DataSourceCursorRuntimeException(String msg)
          Constructs a new exception specifying an error message.
DataSourceCursorRuntimeException(String msg, Throwable sourceException)
          Constructs a new exception specifying an error message and a source exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

DataSourceCursorRuntimeException

public DataSourceCursorRuntimeException()
Constructs a new exception.


DataSourceCursorRuntimeException

public DataSourceCursorRuntimeException(String msg)
Constructs a new exception specifying an error message.

Parameters:
msg - This message is for internal diagnostics.

DataSourceCursorRuntimeException

public DataSourceCursorRuntimeException(String msg,
                                        Throwable sourceException)
Constructs a new exception specifying an error message and a source exception.

Parameters:
msg - This message is for internal diagnostics.
sourceException - The source exception being wrapped.


Copyright © 2002-2004 JAFFA Project.