1 /*
2 * Copyright (c) 2002-2017, Mairie de Paris
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright notice
10 * and the following disclaimer.
11 *
12 * 2. Redistributions in binary form must reproduce the above copyright notice
13 * and the following disclaimer in the documentation and/or other materials
14 * provided with the distribution.
15 *
16 * 3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its
17 * contributors may be used to endorse or promote products derived from
18 * this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
24 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 * POSSIBILITY OF SUCH DAMAGE.
31 *
32 * License 1.0
33 */
34 /**
35 * UserServiceException.java
36 *
37 * This file was auto-generated from WSDL
38 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
39 */
40
41 package com.tvnavig.server.user;
42
43 public class UserServiceException extends com.tvnavig.server.util.ServiceException implements java.io.Serializable {
44 public UserServiceException() {
45 }
46
47 public UserServiceException(
48 java.lang.String[] error) {
49 super(
50 error);
51 }
52
53 private java.lang.Object __equalsCalc = null;
54 public synchronized boolean equals(java.lang.Object obj) {
55 if (!(obj instanceof UserServiceException)) return false;
56 UserServiceExceptionom/tvnavig/server/user/UserServiceException.html#UserServiceException">UserServiceException other = (UserServiceException) obj;
57 if (obj == null) return false;
58 if (this == obj) return true;
59 if (__equalsCalc != null) {
60 return (__equalsCalc == obj);
61 }
62 __equalsCalc = obj;
63 boolean _equals;
64 _equals = super.equals(obj);
65 __equalsCalc = null;
66 return _equals;
67 }
68
69 private boolean __hashCodeCalc = false;
70 public synchronized int hashCode() {
71 if (__hashCodeCalc) {
72 return 0;
73 }
74 __hashCodeCalc = true;
75 int _hashCode = super.hashCode();
76 __hashCodeCalc = false;
77 return _hashCode;
78 }
79
80 // Type metadata
81 private static org.apache.axis.description.TypeDesc typeDesc =
82 new org.apache.axis.description.TypeDesc(UserServiceException.class, true);
83
84 static {
85 typeDesc.setXmlType(new javax.xml.namespace.QName("http://user.server.tvnavig.com", "UserServiceException"));
86 }
87
88 /**
89 * Return type metadata object
90 */
91 public static org.apache.axis.description.TypeDesc getTypeDesc() {
92 return typeDesc;
93 }
94
95 /**
96 * Get Custom Serializer
97 */
98 public static org.apache.axis.encoding.Serializer getSerializer(
99 java.lang.String mechType,
100 java.lang.Class _javaType,
101 javax.xml.namespace.QName _xmlType) {
102 return
103 new org.apache.axis.encoding.ser.BeanSerializer(
104 _javaType, _xmlType, typeDesc);
105 }
106
107 /**
108 * Get Custom Deserializer
109 */
110 public static org.apache.axis.encoding.Deserializer getDeserializer(
111 java.lang.String mechType,
112 java.lang.Class _javaType,
113 javax.xml.namespace.QName _xmlType) {
114 return
115 new org.apache.axis.encoding.ser.BeanDeserializer(
116 _javaType, _xmlType, typeDesc);
117 }
118
119
120 /**
121 * Writes the exception data to the faultDetails
122 */
123 public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
124 context.serialize(qname, null, this);
125 }
126 }