View Javadoc

1   /***
2    * AuthenticationFailedException.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
6    */
7   
8   package no.feide.moria.webservices.v2_2;
9   
10  public class AuthenticationFailedException  extends no.feide.moria.servlet.soap.ClientException  implements java.io.Serializable {
11  
12      public AuthenticationFailedException() {
13      }
14  
15      public AuthenticationFailedException(
16             java.lang.String faultcode,
17             java.lang.String faultstring) {
18          super(
19              faultcode,
20              faultstring);
21      }
22  
23      private java.lang.Object __equalsCalc = null;
24      public synchronized boolean equals(java.lang.Object obj) {
25          if (!(obj instanceof AuthenticationFailedException)) return false;
26          AuthenticationFailedException other = (AuthenticationFailedException) obj;
27          if (obj == null) return false;
28          if (this == obj) return true;
29          if (__equalsCalc != null) {
30              return (__equalsCalc == obj);
31          }
32          __equalsCalc = obj;
33          boolean _equals;
34          _equals = super.equals(obj);
35          __equalsCalc = null;
36          return _equals;
37      }
38  
39      private boolean __hashCodeCalc = false;
40      public synchronized int hashCode() {
41          if (__hashCodeCalc) {
42              return 0;
43          }
44          __hashCodeCalc = true;
45          int _hashCode = super.hashCode();
46          __hashCodeCalc = false;
47          return _hashCode;
48      }
49  
50      // Type metadata
51      private static org.apache.axis.description.TypeDesc typeDesc =
52          new org.apache.axis.description.TypeDesc(AuthenticationFailedException.class, true);
53  
54      static {
55          typeDesc.setXmlType(new javax.xml.namespace.QName("http://v2_2.webservices.moria.feide.no", "AuthenticationFailedException"));
56      }
57  
58      /***
59       * Return type metadata object
60       */
61      public static org.apache.axis.description.TypeDesc getTypeDesc() {
62          return typeDesc;
63      }
64  
65      /***
66       * Get Custom Serializer
67       */
68      public static org.apache.axis.encoding.Serializer getSerializer(
69             java.lang.String mechType, 
70             java.lang.Class _javaType,  
71             javax.xml.namespace.QName _xmlType) {
72          return 
73            new  org.apache.axis.encoding.ser.BeanSerializer(
74              _javaType, _xmlType, typeDesc);
75      }
76  
77      /***
78       * Get Custom Deserializer
79       */
80      public static org.apache.axis.encoding.Deserializer getDeserializer(
81             java.lang.String mechType, 
82             java.lang.Class _javaType,  
83             javax.xml.namespace.QName _xmlType) {
84          return 
85            new  org.apache.axis.encoding.ser.BeanDeserializer(
86              _javaType, _xmlType, typeDesc);
87      }
88  
89  
90      /***
91       * Writes the exception data to the faultDetails
92       */
93      public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
94          context.serialize(qname, null, this);
95      }
96  }