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 package com.tvnavig.server.util;
42
43 public class ServiceException extends org.apache.axis.AxisFault implements java.io.Serializable {
44 private java.lang.String[] error;
45
46 public ServiceException() {
47 }
48
49 public ServiceException(
50 java.lang.String[] error) {
51 this.error = error;
52 }
53
54
55
56
57
58
59
60 public java.lang.String[] getError() {
61 return error;
62 }
63
64
65
66
67
68
69
70 public void setError(java.lang.String[] error) {
71 this.error = error;
72 }
73
74 private java.lang.Object __equalsCalc = null;
75 public synchronized boolean equals(java.lang.Object obj) {
76 if (!(obj instanceof ServiceException)) return false;
77 ServiceException other = (ServiceException) obj;
78 if (obj == null) return false;
79 if (this == obj) return true;
80 if (__equalsCalc != null) {
81 return (__equalsCalc == obj);
82 }
83 __equalsCalc = obj;
84 boolean _equals;
85 _equals = true &&
86 ((this.error==null && other.getError()==null) ||
87 (this.error!=null &&
88 java.util.Arrays.equals(this.error, other.getError())));
89 __equalsCalc = null;
90 return _equals;
91 }
92
93 private boolean __hashCodeCalc = false;
94 public synchronized int hashCode() {
95 if (__hashCodeCalc) {
96 return 0;
97 }
98 __hashCodeCalc = true;
99 int _hashCode = 1;
100 if (getError() != null) {
101 for (int i=0;
102 i<java.lang.reflect.Array.getLength(getError());
103 i++) {
104 java.lang.Object obj = java.lang.reflect.Array.get(getError(), i);
105 if (obj != null &&
106 !obj.getClass().isArray()) {
107 _hashCode += obj.hashCode();
108 }
109 }
110 }
111 __hashCodeCalc = false;
112 return _hashCode;
113 }
114
115
116 private static org.apache.axis.description.TypeDesc typeDesc =
117 new org.apache.axis.description.TypeDesc(ServiceException.class, true);
118
119 static {
120 typeDesc.setXmlType(new javax.xml.namespace.QName("http://util.server.tvnavig.com", "ServiceException"));
121 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
122 elemField.setFieldName("error");
123 elemField.setXmlName(new javax.xml.namespace.QName("", "error"));
124 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
125 elemField.setNillable(true);
126 typeDesc.addFieldDesc(elemField);
127 }
128
129
130
131
132 public static org.apache.axis.description.TypeDesc getTypeDesc() {
133 return typeDesc;
134 }
135
136
137
138
139 public static org.apache.axis.encoding.Serializer getSerializer(
140 java.lang.String mechType,
141 java.lang.Class _javaType,
142 javax.xml.namespace.QName _xmlType) {
143 return
144 new org.apache.axis.encoding.ser.BeanSerializer(
145 _javaType, _xmlType, typeDesc);
146 }
147
148
149
150
151 public static org.apache.axis.encoding.Deserializer getDeserializer(
152 java.lang.String mechType,
153 java.lang.Class _javaType,
154 javax.xml.namespace.QName _xmlType) {
155 return
156 new org.apache.axis.encoding.ser.BeanDeserializer(
157 _javaType, _xmlType, typeDesc);
158 }
159
160
161
162
163
164 public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
165 context.serialize(qname, null, this);
166 }
167 }