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 more rows were returned than expected.
21 *
22 * @author <a href="mailto:quintonm@bellsouth.net">Quinton McCombs</a>
23 * @version $Id: TooManyRowsException.java 239630 2005-08-24 12:25:32Z henning $
24 */
25 public class TooManyRowsException extends TorqueException
26 {
27
28 /***
29 * Constructs a new <code>TorqueException</code> without specified detail
30 * message.
31 */
32 public TooManyRowsException()
33 {
34 }
35
36 /***
37 * Constructs a new <code>TorqueException</code> with specified detail
38 * message.
39 *
40 * @param msg the error message.
41 */
42 public TooManyRowsException(String msg)
43 {
44 super(msg);
45 }
46
47 /***
48 * Constructs a new <code>TorqueException</code> with specified nested
49 * <code>Throwable</code>.
50 *
51 * @param nested the exception or error that caused this exception
52 * to be thrown.
53 */
54 public TooManyRowsException(Throwable nested)
55 {
56 super(nested);
57 }
58
59 /***
60 * Constructs a new <code>TorqueException</code> with specified detail
61 * message and nested <code>Throwable</code>.
62 *
63 * @param msg the error message.
64 * @param nested the exception or error that caused this exception
65 * to be thrown.
66 */
67 public TooManyRowsException(String msg, Throwable nested)
68 {
69 super(msg, nested);
70 }
71 }