org.apache.torque
Class NoRowsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.commons.lang.exception.NestableException
              extended byorg.apache.torque.TorqueException
                  extended byorg.apache.torque.NoRowsException
All Implemented Interfaces:
org.apache.commons.lang.exception.Nestable, java.io.Serializable

public class NoRowsException
extends TorqueException

This exception indicates that no rows were returned but atleast one should have been returned.

Version:
$Id: NoRowsException.java,v 1.1 2003/01/25 16:40:46 quintonm Exp $
Author:
Quinton McCombs
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.lang.exception.NestableException
delegate
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
NoRowsException()
          Constructs a new TorqueException without specified detail message.
NoRowsException(java.lang.String msg)
          Constructs a new TorqueException with specified detail message.
NoRowsException(java.lang.String msg, java.lang.Throwable nested)
          Constructs a new TorqueException with specified detail message and nested Throwable.
NoRowsException(java.lang.Throwable nested)
          Constructs a new TorqueException with specified nested Throwable.
 
Methods inherited from class org.apache.commons.lang.exception.NestableException
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoRowsException

public NoRowsException()
Constructs a new TorqueException without specified detail message.


NoRowsException

public NoRowsException(java.lang.String msg)
Constructs a new TorqueException with specified detail message.

Parameters:
msg - the error message.

NoRowsException

public NoRowsException(java.lang.Throwable nested)
Constructs a new TorqueException with specified nested Throwable.

Parameters:
nested - the exception or error that caused this exception to be thrown.

NoRowsException

public NoRowsException(java.lang.String msg,
                       java.lang.Throwable nested)
Constructs a new TorqueException with specified detail message and nested Throwable.

Parameters:
msg - the error message.
nested - the exception or error that caused this exception to be thrown.


Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.