01: /**
02: * TooManyOpenSessionsException.java
03: *
04: * This file was auto-generated from WSDL
05: * by the Apache Axis 1.2.1 Jul 21, 2005 (10:26:06 GMT-03:00) WSDL2Java emitter.
06: */package org.josso.gateway.session.service.ws.impl;
07:
08: public class TooManyOpenSessionsException extends
09: org.josso.gateway.session.service.ws.impl.SSOSessionException
10: implements java.io.Serializable {
11:
12: public TooManyOpenSessionsException() {
13: }
14:
15: private java.lang.Object __equalsCalc = null;
16:
17: public synchronized boolean equals(java.lang.Object obj) {
18: if (!(obj instanceof TooManyOpenSessionsException))
19: return false;
20: TooManyOpenSessionsException other = (TooManyOpenSessionsException) obj;
21: if (obj == null)
22: return false;
23: if (this == obj)
24: return true;
25: if (__equalsCalc != null) {
26: return (__equalsCalc == obj);
27: }
28: __equalsCalc = obj;
29: boolean _equals;
30: _equals = super .equals(obj);
31: __equalsCalc = null;
32: return _equals;
33: }
34:
35: private boolean __hashCodeCalc = false;
36:
37: public synchronized int hashCode() {
38: if (__hashCodeCalc) {
39: return 0;
40: }
41: __hashCodeCalc = true;
42: int _hashCode = super .hashCode();
43: __hashCodeCalc = false;
44: return _hashCode;
45: }
46:
47: // Type metadata
48: private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
49: TooManyOpenSessionsException.class, true);
50:
51: static {
52: typeDesc.setXmlType(new javax.xml.namespace.QName(
53: "http://josso.org/gateway/session/service/ws/impl",
54: "TooManyOpenSessionsException"));
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, java.lang.Class _javaType,
69: javax.xml.namespace.QName _xmlType) {
70: return new org.apache.axis.encoding.ser.BeanSerializer(
71: _javaType, _xmlType, typeDesc);
72: }
73:
74: /**
75: * Get Custom Deserializer
76: */
77: public static org.apache.axis.encoding.Deserializer getDeserializer(
78: java.lang.String mechType, java.lang.Class _javaType,
79: javax.xml.namespace.QName _xmlType) {
80: return new org.apache.axis.encoding.ser.BeanDeserializer(
81: _javaType, _xmlType, typeDesc);
82: }
83:
84: /**
85: * Writes the exception data to the faultDetails
86: */
87: public void writeDetails(javax.xml.namespace.QName qname,
88: org.apache.axis.encoding.SerializationContext context)
89: throws java.io.IOException {
90: context.serialize(qname, null, this);
91: }
92: }
|