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
59
60
61
62
63
64
65
66
67 | package Torello.Browser;
import Torello.Java.UnreachableError;
/**
* Error used to indicate that an internal problem involving JSON number conversion from Java into
* JSON has occured.
*
* <BR /><BR /><DIV CLASS=JDHint>
* Generally, the class {@link NumberCrap} is intended for internal & proprietary use only. It
* really doesn't need to be invoked by external, user code. It remains public because, indeed,
* there are classes which reside in packages other than {@code 'Torello.Browser'} invoke it. As a
* result, it must be declared public. And because JavaDoc publishes anything which has the
* reserved keyword 'public', you the end user can see the methods & fields.
*
* <BR /><BR />
* ⚠️ Class {@link NumberCrap} really is intended strictly for Java-HTML proprietary invocations.
* Because that class is declared 'public', {@link UnreachableError} was replaced by this error.
* </DIV>
*/
public class InvalidNumberTypeError extends Error
{
/** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX> */
protected static final long serialVersionUID = 1L;
/** Constructs a {@code InvalidNumberTypeError} with no detail message. */
public InvalidNumberTypeError()
{ super(); }
/**
* Constructs a {@code InvalidNumberTypeError} with the specified detail message.
* @param message the detail message.
*/
public InvalidNumberTypeError(String message)
{ super(message); }
/**
* Constructs a new exception with the specified detail message and cause.
*
* <BR /><BR /><DIV CLASS=JDHint>
* <B STYLE='color:red;'>Note:</B> The detail message associated with cause is not
* automatically incorporated into this exception's detail message.
* </DIV>
*
* @param message The detail message (which is saved for later retrieval by the
* {@code Throwable.getMessage()} method).
*
* @param cause the cause (which is saved for later retrieval by the
* {@code Throwable.getCause()} method). (A null value is permitted, and indicates that the
* cause is non-existent or unknown.)
*/
public InvalidNumberTypeError(String message, Throwable cause)
{ super(message, cause); }
/**
* Constructs a new exception with the specified cause and a detail message of
* {@code (cause==null ? null : cause.toString())} (which typically contains the class and
* detail message of cause). This constructor is useful for exceptions that are little more
* than wrappers for other throwables.
*
* @param cause The cause (which is saved for later retrieval by the
* {@code Throwable.getCause()} method). (A null value is permitted, and indicates that the
* cause is non-existent or unknown.)
*/
public InvalidNumberTypeError(Throwable cause)
{ super(cause); }
}
|