1 package org.apache.torque;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 /***
20 * This exception indicates that no rows were returned but atleast one should
21 * have been returned.
22 *
23 * @author <a href="mailto:quintonm@bellsouth.net">Quinton McCombs</a>
24 * @version $Id: NoRowsException.java 239630 2005-08-24 12:25:32Z henning $
25 */
26 public class NoRowsException extends TorqueException
27 {
28
29 /***
30 * Constructs a new <code>TorqueException</code> without specified detail
31 * message.
32 */
33 public NoRowsException()
34 {
35 }
36
37 /***
38 * Constructs a new <code>TorqueException</code> with specified detail
39 * message.
40 *
41 * @param msg the error message.
42 */
43 public NoRowsException(String msg)
44 {
45 super(msg);
46 }
47
48 /***
49 * Constructs a new <code>TorqueException</code> with specified nested
50 * <code>Throwable</code>.
51 *
52 * @param nested the exception or error that caused this exception
53 * to be thrown.
54 */
55 public NoRowsException(Throwable nested)
56 {
57 super(nested);
58 }
59
60 /***
61 * Constructs a new <code>TorqueException</code> with specified detail
62 * message and nested <code>Throwable</code>.
63 *
64 * @param msg the error message.
65 * @param nested the exception or error that caused this exception
66 * to be thrown.
67 */
68 public NoRowsException(String msg, Throwable nested)
69 {
70 super(msg, nested);
71 }
72 }