From: Tobias H. <thu...@us...> - 2005-05-11 10:51:56
|
Update of /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/server/exception In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12081/src/net/sf/magicmap/server/exception Modified Files: AuthenticationException.java SessionException.java MapException.java Log Message: + Client is usable without server Index: MapException.java =================================================================== RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/server/exception/MapException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MapException.java 16 Feb 2005 09:02:31 -0000 1.3 --- MapException.java 11 May 2005 10:51:31 -0000 1.4 *************** *** 8,95 **** package net.sf.magicmap.server.exception; ! public class MapException extends org.apache.axis.AxisFault implements java.io.Serializable { ! public MapException() { ! } ! /** ! * @param message ! */ ! public MapException(String message) { ! super(message); ! } ! private java.lang.Object __equalsCalc = null; ! public synchronized boolean equals(java.lang.Object obj) { ! if (!(obj instanceof MapException)) return false; ! MapException other = (MapException) obj; ! if (obj == null) return false; ! if (this == obj) return true; ! if (__equalsCalc != null) { ! return (__equalsCalc == obj); ! } ! __equalsCalc = obj; ! boolean _equals; ! _equals = true; ! __equalsCalc = null; ! return _equals; ! } ! private boolean __hashCodeCalc = false; ! public synchronized int hashCode() { ! if (__hashCodeCalc) { ! return 0; ! } ! __hashCodeCalc = true; ! int _hashCode = 1; ! __hashCodeCalc = false; ! return _hashCode; } ! // Type metadata ! private static org.apache.axis.description.TypeDesc typeDesc = ! new org.apache.axis.description.TypeDesc(MapException.class, true); ! static { ! typeDesc.setXmlType(new javax.xml.namespace.QName("http://exception.server.magicmap.sf.net", "MapException")); } ! /** ! * Return type metadata object ! */ ! public static org.apache.axis.description.TypeDesc getTypeDesc() { ! return typeDesc; ! } ! /** ! * Get Custom Serializer ! */ ! public static org.apache.axis.encoding.Serializer getSerializer( ! java.lang.String mechType, ! java.lang.Class _javaType, ! javax.xml.namespace.QName _xmlType) { ! return ! new org.apache.axis.encoding.ser.BeanSerializer( ! _javaType, _xmlType, typeDesc); ! } ! /** ! * Get Custom Deserializer ! */ ! public static org.apache.axis.encoding.Deserializer getDeserializer( ! java.lang.String mechType, ! java.lang.Class _javaType, ! javax.xml.namespace.QName _xmlType) { ! return ! new org.apache.axis.encoding.ser.BeanDeserializer( ! _javaType, _xmlType, typeDesc); ! } ! /** ! * Writes the exception data to the faultDetails ! */ ! public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException { ! context.serialize(qname, null, this); ! } ! } --- 8,88 ---- package net.sf.magicmap.server.exception; ! public class MapException extends org.apache.axis.AxisFault implements java.io.Serializable { ! public MapException() {} ! /** ! * @param message ! */ ! public MapException(String message) { ! super(message); ! } ! private java.lang.Object __equalsCalc = null; ! public synchronized boolean equals(java.lang.Object obj){ ! if (!(obj instanceof MapException)) return false; ! MapException other = (MapException) obj; ! if (obj == null) return false; ! if (this == obj) return true; ! if (__equalsCalc != null){ ! return (__equalsCalc == obj); } + __equalsCalc = obj; + boolean _equals; + _equals = true; + __equalsCalc = null; + return _equals; + } ! private boolean __hashCodeCalc = false; ! public synchronized int hashCode(){ ! if (__hashCodeCalc){ ! return 0; } + __hashCodeCalc = true; + int _hashCode = 1; + __hashCodeCalc = false; + return _hashCode; + } ! // Type metadata ! private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( ! MapException.class, true); ! static{ ! typeDesc.setXmlType(new javax.xml.namespace.QName("http://exception.server.magicmap.sf.net", "MapException")); ! } ! /** ! * Return type metadata object ! */ ! public static org.apache.axis.description.TypeDesc getTypeDesc(){ ! return typeDesc; ! } + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType){ + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc); + } ! /** ! * Get Custom Deserializer ! */ ! public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, ! java.lang.Class _javaType, javax.xml.namespace.QName _xmlType){ ! return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc); ! } ! ! /** ! * Writes the exception data to the faultDetails ! */ ! public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) ! throws java.io.IOException{ ! context.serialize(qname, null, this); ! } ! } \ No newline at end of file Index: SessionException.java =================================================================== RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/server/exception/SessionException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SessionException.java 12 Feb 2005 16:00:29 -0000 1.1 --- SessionException.java 11 May 2005 10:51:31 -0000 1.2 *************** *** 8,95 **** package net.sf.magicmap.server.exception; ! public class SessionException extends org.apache.axis.AxisFault implements java.io.Serializable { ! public SessionException() { ! } ! /** ! * @param message ! */ ! public SessionException(String message) { ! super(message); ! } ! private java.lang.Object __equalsCalc = null; ! public synchronized boolean equals(java.lang.Object obj) { ! if (!(obj instanceof SessionException)) return false; ! SessionException other = (SessionException) obj; ! if (obj == null) return false; ! if (this == obj) return true; ! if (__equalsCalc != null) { ! return (__equalsCalc == obj); ! } ! __equalsCalc = obj; ! boolean _equals; ! _equals = true; ! __equalsCalc = null; ! return _equals; ! } ! private boolean __hashCodeCalc = false; ! public synchronized int hashCode() { ! if (__hashCodeCalc) { ! return 0; ! } ! __hashCodeCalc = true; ! int _hashCode = 1; ! __hashCodeCalc = false; ! return _hashCode; } ! // Type metadata ! private static org.apache.axis.description.TypeDesc typeDesc = ! new org.apache.axis.description.TypeDesc(SessionException.class, true); ! static { ! typeDesc.setXmlType(new javax.xml.namespace.QName("http://exception.server.magicmap.sf.net", "SessionException")); } ! /** ! * Return type metadata object ! */ ! public static org.apache.axis.description.TypeDesc getTypeDesc() { ! return typeDesc; ! } ! /** ! * Get Custom Serializer ! */ ! public static org.apache.axis.encoding.Serializer getSerializer( ! java.lang.String mechType, ! java.lang.Class _javaType, ! javax.xml.namespace.QName _xmlType) { ! return ! new org.apache.axis.encoding.ser.BeanSerializer( ! _javaType, _xmlType, typeDesc); ! } ! /** ! * Get Custom Deserializer ! */ ! public static org.apache.axis.encoding.Deserializer getDeserializer( ! java.lang.String mechType, ! java.lang.Class _javaType, ! javax.xml.namespace.QName _xmlType) { ! return ! new org.apache.axis.encoding.ser.BeanDeserializer( ! _javaType, _xmlType, typeDesc); ! } ! /** ! * Writes the exception data to the faultDetails ! */ ! public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException { ! context.serialize(qname, null, this); ! } ! } --- 8,88 ---- package net.sf.magicmap.server.exception; ! public class SessionException extends org.apache.axis.AxisFault implements java.io.Serializable { ! public SessionException() {} ! /** ! * @param message ! */ ! public SessionException(String message) { ! super(message); ! } ! private java.lang.Object __equalsCalc = null; ! public synchronized boolean equals(java.lang.Object obj){ ! if (!(obj instanceof SessionException)) return false; ! SessionException other = (SessionException) obj; ! if (obj == null) return false; ! if (this == obj) return true; ! if (__equalsCalc != null){ ! return (__equalsCalc == obj); } + __equalsCalc = obj; + boolean _equals; + _equals = true; + __equalsCalc = null; + return _equals; + } ! private boolean __hashCodeCalc = false; ! public synchronized int hashCode(){ ! if (__hashCodeCalc){ ! return 0; } + __hashCodeCalc = true; + int _hashCode = 1; + __hashCodeCalc = false; + return _hashCode; + } ! // Type metadata ! private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( ! SessionException.class, true); ! static{ ! typeDesc.setXmlType(new javax.xml.namespace.QName("http://exception.server.magicmap.sf.net", "SessionException")); ! } ! /** ! * Return type metadata object ! */ ! public static org.apache.axis.description.TypeDesc getTypeDesc(){ ! return typeDesc; ! } + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType){ + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc); + } ! /** ! * Get Custom Deserializer ! */ ! public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, ! java.lang.Class _javaType, javax.xml.namespace.QName _xmlType){ ! return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc); ! } ! ! /** ! * Writes the exception data to the faultDetails ! */ ! public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) ! throws java.io.IOException{ ! context.serialize(qname, null, this); ! } ! } \ No newline at end of file Index: AuthenticationException.java =================================================================== RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/server/exception/AuthenticationException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AuthenticationException.java 12 Feb 2005 16:00:29 -0000 1.1 --- AuthenticationException.java 11 May 2005 10:51:31 -0000 1.2 *************** *** 8,95 **** package net.sf.magicmap.server.exception; ! public class AuthenticationException extends org.apache.axis.AxisFault implements java.io.Serializable { ! public AuthenticationException() { ! } ! /** ! * @param message ! */ ! public AuthenticationException(String message) { ! super(message); ! } ! private java.lang.Object __equalsCalc = null; ! public synchronized boolean equals(java.lang.Object obj) { ! if (!(obj instanceof AuthenticationException)) return false; ! AuthenticationException other = (AuthenticationException) obj; ! if (obj == null) return false; ! if (this == obj) return true; ! if (__equalsCalc != null) { ! return (__equalsCalc == obj); ! } ! __equalsCalc = obj; ! boolean _equals; ! _equals = true; ! __equalsCalc = null; ! return _equals; ! } ! private boolean __hashCodeCalc = false; ! public synchronized int hashCode() { ! if (__hashCodeCalc) { ! return 0; ! } ! __hashCodeCalc = true; ! int _hashCode = 1; ! __hashCodeCalc = false; ! return _hashCode; } ! // Type metadata ! private static org.apache.axis.description.TypeDesc typeDesc = ! new org.apache.axis.description.TypeDesc(AuthenticationException.class, true); ! static { ! typeDesc.setXmlType(new javax.xml.namespace.QName("http://exception.server.magicmap.sf.net", "AuthenticationException")); } ! /** ! * Return type metadata object ! */ ! public static org.apache.axis.description.TypeDesc getTypeDesc() { ! return typeDesc; ! } ! /** ! * Get Custom Serializer ! */ ! public static org.apache.axis.encoding.Serializer getSerializer( ! java.lang.String mechType, ! java.lang.Class _javaType, ! javax.xml.namespace.QName _xmlType) { ! return ! new org.apache.axis.encoding.ser.BeanSerializer( ! _javaType, _xmlType, typeDesc); ! } ! /** ! * Get Custom Deserializer ! */ ! public static org.apache.axis.encoding.Deserializer getDeserializer( ! java.lang.String mechType, ! java.lang.Class _javaType, ! javax.xml.namespace.QName _xmlType) { ! return ! new org.apache.axis.encoding.ser.BeanDeserializer( ! _javaType, _xmlType, typeDesc); ! } ! /** ! * Writes the exception data to the faultDetails ! */ ! public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException { ! context.serialize(qname, null, this); ! } ! } --- 8,89 ---- package net.sf.magicmap.server.exception; ! public class AuthenticationException extends org.apache.axis.AxisFault implements java.io.Serializable { ! public AuthenticationException() {} ! /** ! * @param message ! */ ! public AuthenticationException(String message) { ! super(message); ! } ! private java.lang.Object __equalsCalc = null; ! public synchronized boolean equals(java.lang.Object obj){ ! if (!(obj instanceof AuthenticationException)) return false; ! AuthenticationException other = (AuthenticationException) obj; ! if (obj == null) return false; ! if (this == obj) return true; ! if (__equalsCalc != null){ ! return (__equalsCalc == obj); } + __equalsCalc = obj; + boolean _equals; + _equals = true; + __equalsCalc = null; + return _equals; + } ! private boolean __hashCodeCalc = false; ! public synchronized int hashCode(){ ! if (__hashCodeCalc){ ! return 0; } + __hashCodeCalc = true; + int _hashCode = 1; + __hashCodeCalc = false; + return _hashCode; + } ! // Type metadata ! private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( ! AuthenticationException.class, true); ! static{ ! typeDesc.setXmlType(new javax.xml.namespace.QName("http://exception.server.magicmap.sf.net", ! "AuthenticationException")); ! } ! /** ! * Return type metadata object ! */ ! public static org.apache.axis.description.TypeDesc getTypeDesc(){ ! return typeDesc; ! } + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType){ + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc); + } ! /** ! * Get Custom Deserializer ! */ ! public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, ! java.lang.Class _javaType, javax.xml.namespace.QName _xmlType){ ! return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc); ! } ! ! /** ! * Writes the exception data to the faultDetails ! */ ! public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) ! throws java.io.IOException{ ! context.serialize(qname, null, this); ! } ! } \ No newline at end of file |