View Javadoc

1   /**
2    * RemotePermissionException.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 RemotePermissionException extends com.atlassian.theplugin.jira.api.soap.axis.RemoteException
11  		implements java.io.Serializable {
12  	public RemotePermissionException() {
13  	}
14  
15  	private java.lang.Object __equalsCalc = null;
16  
17  	public synchronized boolean equals(java.lang.Object obj) {
18  		if (!(obj instanceof RemotePermissionException)) {
19  			return false;
20  		}
21  		RemotePermissionException other = (RemotePermissionException) obj;
22  		if (obj == null) {
23  			return false;
24  		}
25  		if (this == obj) {
26  			return true;
27  		}
28  		if (__equalsCalc != null) {
29  			return (__equalsCalc == obj);
30  		}
31  		__equalsCalc = obj;
32  		boolean _equals;
33  		_equals = super.equals(obj);
34  		__equalsCalc = null;
35  		return _equals;
36  	}
37  
38  	private boolean __hashCodeCalc = false;
39  
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(RemotePermissionException.class, true);
53  
54  	static {
55  		typeDesc.setXmlType(
56  				new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"));
57  	}
58  
59  	/**
60  	 * Return type metadata object
61  	 */
62  	public static org.apache.axis.description.TypeDesc getTypeDesc() {
63  		return typeDesc;
64  	}
65  
66  	/**
67  	 * Get Custom Serializer
68  	 */
69  	public static org.apache.axis.encoding.Serializer getSerializer(
70  			java.lang.String mechType,
71  			java.lang.Class _javaType,
72  			javax.xml.namespace.QName _xmlType) {
73  		return
74  				new org.apache.axis.encoding.ser.BeanSerializer(
75  						_javaType, _xmlType, typeDesc);
76  	}
77  
78  	/**
79  	 * Get Custom Deserializer
80  	 */
81  	public static org.apache.axis.encoding.Deserializer getDeserializer(
82  			java.lang.String mechType,
83  			java.lang.Class _javaType,
84  			javax.xml.namespace.QName _xmlType) {
85  		return
86  				new org.apache.axis.encoding.ser.BeanDeserializer(
87  						_javaType, _xmlType, typeDesc);
88  	}
89  
90  
91  	/**
92  	 * Writes the exception data to the faultDetails
93  	 */
94  	public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context)
95  			throws java.io.IOException {
96  		context.serialize(qname, null, this);
97  	}
98  }