View Javadoc

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