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 | package Torello.Browser;
import Torello.Browser.CDPTypes;
import Torello.Java.UnreachableError;
/**
* Indicates that the class {@link CDPTypes} has received a Java {@code String} which isn't among
* the recognized <B STYLE='color:red;'>"Computed Type as String"</B> types.
*
* <BR /><BR /><DIV CLASS=JDHint>
* Generally, the class {@link CDPTypes} 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 CDPTypes} really is intended strictly for Java-HTML proprietary invocations.
* Because that class is declared 'public', {@link UnreachableError} was replaced by this error.
* </DIV>
*
* @see CDPTypes#ctasToByte(String)
* @see CDPTypes#ctasToByte(String, boolean, boolean)
*/
public class UnrecognizedCTASError extends Error
{
/** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX> */
protected static final long serialVersionUID = 1L;
/** Constructs a {@code UnrecognizedCTASError} with no detail message. */
public UnrecognizedCTASError()
{ super(); }
/**
* Constructs a {@code UnrecognizedCTASError} using the erroneous {@code 'CTAS'} value as the
* detail message.
*
* @param CTAS The erroneous value used for <B SYTLE='color:red;'>"Computed Type as String"</B>
* (CTAS)
*
* @see CDPTypes#ctasToByte(String)
* @see CDPTypes#ctasToByte(String, boolean, boolean)
*/
public UnrecognizedCTASError(String CTAS)
{
super(
"The following String was passed to class CDPTypes:" + '\n' +
CTAS + '\n' +
"This is not a valid parameter-value for the parameter 'CTAS'."
);
}
}
|