1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58 | package Torello.HTML;
import Torello.Java.ExceptionCheckError;
/**
* Thrown during a {@link Replaceable} HTML-{@code Vector} update operation when a
* {@link Replaceable} instance is not within the bounds of that HTML-{@code Vector}.
*
* <EMBED CLASS='external-html' DATA-FILE-ID=REX_METHOD_LOC_NOTE>
*/
public class ReplaceableOutOfBoundsException extends ReplaceableException
{
/** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX> */
public static final long serialVersionUID = 1;
/**
* <EMBED CLASS='external-html' DATA-FILE-ID=EXPF>
*
* A reference to the {@link Replaceable} which caused this exception to throw
*/
public final Replaceable r;
/**
* Constructs a {@code ReplaceableOutOfBoundsException} with no detail message.
*
* @param r A reference to the {@link Replaceable} which caused this exception to throw
*
* <EMBED CLASS='external-html' DATA-FILE-ID=EXPF_PARAM>
*/
public ReplaceableOutOfBoundsException(Replaceable r)
{
super();
if (r == null) throw new ExceptionCheckError
("Parameter 'r' was passed a null reference");
this.r = r;
}
/**
* Constructs a {@code ReplaceableOutOfBoundsException} with the specified detail message.
*
* @param message the detail message.
*
* @param r A reference to the {@link Replaceable} which caused this exception to throw
*
* <EMBED CLASS='external-html' DATA-FILE-ID=EXPF_PARAM>
*/
public ReplaceableOutOfBoundsException(String message, Replaceable r)
{
super(message);
if (r == null) throw new ExceptionCheckError
("Parameter 'r' was passed a null reference");
this.r = r;
}
}
|