Package org.apache.torque
Class TooManyRowsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.apache.torque.TorqueException
org.apache.torque.TooManyRowsException
- All Implemented Interfaces:
Serializable,Iterable<Throwable>
This exception indicates that more rows were returned than expected.
- Version:
- $Id: TooManyRowsException.java 1351125 2012-06-17 16:51:03Z tv $
- Author:
- Quinton McCombs
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newTorqueExceptionwithout specified detail message.Constructs a newTorqueExceptionwith specified detail message.TooManyRowsException(String msg, Throwable nested) Constructs a newTorqueExceptionwith specified detail message and nestedThrowable.TooManyRowsException(Throwable nested) Constructs a newTorqueExceptionwith specified nestedThrowable. -
Method Summary
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TooManyRowsException
public TooManyRowsException()Constructs a newTorqueExceptionwithout specified detail message. -
TooManyRowsException
Constructs a newTorqueExceptionwith specified detail message.- Parameters:
msg- the error message.
-
TooManyRowsException
Constructs a newTorqueExceptionwith specified nestedThrowable.- Parameters:
nested- the exception or error that caused this exception to be thrown.
-
TooManyRowsException
Constructs a newTorqueExceptionwith specified detail message and nestedThrowable.- Parameters:
msg- the error message.nested- the exception or error that caused this exception to be thrown.
-