org.apache.torque
Class TooManyRowsException

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

public class TooManyRowsException
extends TorqueException

This exception indicates that more rows were returned than expected.

Version:
$Id: TooManyRowsException.java 473821 2006-11-11 22:37:25Z tv $
Author:
Quinton McCombs
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.lang.exception.NestableException
delegate
 
Constructor Summary
TooManyRowsException()
          Constructs a new TorqueException without specified detail message.
TooManyRowsException(java.lang.String msg)
          Constructs a new TorqueException with specified detail message.
TooManyRowsException(java.lang.String msg, java.lang.Throwable nested)
          Constructs a new TorqueException with specified detail message and nested Throwable.
TooManyRowsException(java.lang.Throwable nested)
          Constructs a new TorqueException with specified nested Throwable.
 
Method Summary
 
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

TooManyRowsException

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


TooManyRowsException

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

Parameters:
msg - the error message.

TooManyRowsException

public TooManyRowsException(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.

TooManyRowsException

public TooManyRowsException(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-2012 Apache Software Foundation. All Rights Reserved.