Package org.apache.torque
Class NoRowsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.apache.torque.TorqueException
org.apache.torque.NoRowsException
- All Implemented Interfaces:
Serializable,Iterable<Throwable>
This exception indicates that no rows were returned but at least one should
have been returned.
- Version:
- $Id: NoRowsException.java 1351125 2012-06-17 16:51:03Z tv $
- Author:
- Quinton McCombs
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newTorqueExceptionwithout specified detail message.NoRowsException(String msg) Constructs a newTorqueExceptionwith specified detail message.NoRowsException(String msg, Throwable nested) Constructs a newTorqueExceptionwith specified detail message and nestedThrowable.NoRowsException(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
-
NoRowsException
public NoRowsException()Constructs a newTorqueExceptionwithout specified detail message. -
NoRowsException
Constructs a newTorqueExceptionwith specified detail message.- Parameters:
msg- the error message.
-
NoRowsException
Constructs a newTorqueExceptionwith specified nestedThrowable.- Parameters:
nested- the exception or error that caused this exception to be thrown.
-
NoRowsException
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.
-