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
68
69
70
71
72
73
74
75
package Torello.Java.Additional;

import javax.json.*;

/**
 * Used to indicate that one of the elements within a {@link JsonArray} caused a Java
 * <B>{@code ArithmeticException}</B> to throw when attempting to bind the element to a
 * <B STYLE='color: red;'>Java Number Type</B>.
 * 
 * <EMBED CLASS=globalDefs DATA-STRUCT=JsonArray DATA-TYPE=Array DATA-TYPE_ABBREV=Arr>
 * <EMBED CLASS='external-html' DATA-FILE-ID=JE_FIELD_ARR>
 * <EMBED CLASS='external-html' DATA-FILE-ID=JE_MSG>
 * <EMBED CLASS='external-html' DATA-FILE-ID=JE_MSG_JAAEX>
 */
@Torello.HTML.Tools.JavaDoc.JDHeaderBackgroundImg(EmbedTagFileID="JE_A_UL")
public class JsonArithmeticArrException extends JsonBindingArrException
{
    /** <EMBED CLASS="external-html" DATA-FILE-ID="SVUIDEX">  */
    public static final long serialVersionUID = 1;

    /**
     * Constructs a {@code JsonArithmeticArrException} with no specified detail messsage,
     * and the user-provided convenience-field values.
     * 
     * @param cause The <B>{@code ArithmeticException}</B> which caused this exception to throw
     * @param errorSourceJsonArray  <EMBED CLASS='external-html' DATA-FILE-ID=JBEX_ESJA>
     * @param index                 <EMBED CLASS='external-html' DATA-FILE-ID=JBEX_I>
     * @param expectedJsonType      <EMBED CLASS='external-html' DATA-FILE-ID=JBEX_EJT>
     * @param valueRetrieved        <EMBED CLASS='external-html' DATA-FILE-ID=JBEX_VR>
     * @param methodReturnJavaType  <EMBED CLASS='external-html' DATA-FILE-ID=JBEX_MRJT>
     */
    public JsonArithmeticArrException(
            ArithmeticException cause,
            JsonArray           errorSourceJsonArray,
            int                 index,
            JsonValue.ValueType expectedJsonType,
            JsonValue           valueRetrieved,
            Class<?>            methodReturnJavaType
        )
    {
        super(
            cause, errorSourceJsonArray, index, expectedJsonType, valueRetrieved,
            methodReturnJavaType,
            "An ArithmeticException has occured during the Json -> Java Type Conversion"
        );
    }

    /**
     * Constructs a {@code JsonArithmeticArrException} with the specified detail message, and
     * user-provided convenience-field values.
     * 
     * @param message the detail message.
     * @param cause The <B>{@code ArithmeticException}</B> which caused this exception to throw
     * @param errorSourceJsonArray  <EMBED CLASS='external-html' DATA-FILE-ID=JBEX_ESJA>
     * @param index                 <EMBED CLASS='external-html' DATA-FILE-ID=JBEX_I>
     * @param expectedJsonType      <EMBED CLASS='external-html' DATA-FILE-ID=JBEX_EJT>
     * @param valueRetrieved        <EMBED CLASS='external-html' DATA-FILE-ID=JBEX_VR>
     * @param methodReturnJavaType  <EMBED CLASS='external-html' DATA-FILE-ID=JBEX_MRJT>
     */
    public JsonArithmeticArrException(
            String              message,
            ArithmeticException cause,
            JsonArray           errorSourceJsonArray,
            int                 index,
            JsonValue.ValueType expectedJsonType,
            JsonValue           valueRetrieved,
            Class<?>            methodReturnJavaType
        )
    {
        super(
            message, cause, errorSourceJsonArray, index, expectedJsonType, valueRetrieved,
            methodReturnJavaType
        );
    }
}