You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by as...@apache.org on 2005/06/24 16:40:40 UTC
svn commit: r201625 - in
/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc:
JAXRPCContext.java JAXRPCException.java ProtocolException.java
ServiceException.java
Author: ashutosh
Date: Fri Jun 24 07:40:39 2005
New Revision: 201625
URL: http://svn.apache.org/viewcvs?rev=201625&view=rev
Log:
Exception classes and some constant Info
Modified:
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCContext.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCException.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ProtocolException.java
webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceException.java
Modified: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCContext.java?rev=201625&r1=201624&r2=201625&view=diff
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCContext.java (original)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCContext.java Fri Jun 24 07:40:39 2005
@@ -28,37 +28,37 @@
* Standard property: Map of attachments to a message, key is the MIME Content-ID, value is a DataHandler.
* Type: java.util.Map
*/
- static final java.lang.String MESSAGE_ATTACHMENTS = null;
+ static final java.lang.String MESSAGE_ATTACHMENTS = "javx.xml.rpc.binding.attachments";
/**
* Standard property: input source for WSDL document.
* Type: org.xml.sax.InputSource
*/
- static final java.lang.String WSDL_DESCRIPTION = null;
+ static final java.lang.String WSDL_DESCRIPTION = "javax.xml.rpc.wsdl.description";
/**
* Standard property: name of WSDL service.
* Type: javax.xml.namespace.QName
*/
- static final java.lang.String WSDL_SERVICE = null;
+ static final java.lang.String WSDL_SERVICE = "javax.xml.rpc.wsdl.service";
/**
* Standard property: name of WSDL port.
* Type: javax.xml.namespace.QName
*/
- static final java.lang.String WSDL_PORT = null;
+ static final java.lang.String WSDL_PORT = "javax.xml.rpc.wsdl.port";
/**
* Standard property: name of wsdl interface (2.0) or port type (1.1).
* Type: javax.xml.namespace.QName
*/
- static final java.lang.String WSDL_INTERFACE = null;
+ static final java.lang.String WSDL_INTERFACE = "javax.xml.rpc.wsdl.interface";
/**
* Standard property: name of WSDL operation.
* Type: javax.xml.namespace.QName
*/
- static final java.lang.String WSDL_OPERATION = null;
+ static final java.lang.String WSDL_OPERATION = "javax.xml.rpc.wsdl.operation";
/**
* Method setProperty
Modified: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCException.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCException.java?rev=201625&r1=201624&r2=201625&view=diff
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCException.java (original)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCException.java Fri Jun 24 07:40:39 2005
@@ -29,14 +29,18 @@
* Empty Constructor
* Constructs a new exception with null as its detail message.
*/
- public JAXRPCException() {}
+ public JAXRPCException() {
+ super();
+ }
/**
* Constructor
* Constructs a new exception with the specified detail message.
* @param message - The detail message which is later retrieved using the getMessage method
*/
- public JAXRPCException(java.lang.String message) {}
+ public JAXRPCException(java.lang.String message) {
+ super(message);
+ }
/**
* Constructor
@@ -45,7 +49,9 @@
* @param cause - The cause which is saved for the later retrieval throw by the getCause method
*/
public JAXRPCException(java.lang.String message,
- java.lang.Throwable cause) {}
+ java.lang.Throwable cause) {
+ super(message, cause);
+ }
/**
* Constructor
@@ -54,7 +60,9 @@
* contains the class and detail message of cause).
* @param cause - The cause which is saved for the later retrieval throw by the getCause method. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
*/
- public JAXRPCException(java.lang.Throwable cause){}
+ public JAXRPCException(java.lang.Throwable cause){
+ super(cause==null ? null : cause.toString(),cause);
+ }
/**
* Method getLinkedCause
@@ -64,6 +72,6 @@
* @return The cause of this Exception or null if the cause is noexistent or unknown
*/
public java.lang.Throwable getLinkedCause() {
- return null;
+ return getCause();
}
}
Modified: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ProtocolException.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ProtocolException.java?rev=201625&r1=201624&r2=201625&view=diff
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ProtocolException.java (original)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ProtocolException.java Fri Jun 24 07:40:39 2005
@@ -31,14 +31,18 @@
* Empty Constructor
* Constructs a new protocol exception with null as its detail message.
*/
- public ProtocolException() {}
+ public ProtocolException() {
+ super();
+ }
/**
* Constructor
* Constructs a new protocol exception with the specified detail message.
* @param message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
*/
- public ProtocolException(java.lang.String message) {}
+ public ProtocolException(java.lang.String message) {
+ super(message);
+ }
/**
* Constructor
@@ -48,7 +52,9 @@
* @param cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
*/
public ProtocolException(java.lang.String message,
- java.lang.Throwable cause) {}
+ java.lang.Throwable cause) {
+ super(message, cause);
+ }
/**
* Constructor
@@ -57,6 +63,8 @@
* contains the class and detail message of cause).
* @param cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
*/
- public ProtocolException(java.lang.Throwable cause) {}
+ public ProtocolException(java.lang.Throwable cause) {
+ super(cause==null ? null : cause.toString(), cause);
+ }
}
Modified: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceException.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceException.java?rev=201625&r1=201624&r2=201625&view=diff
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceException.java (original)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceException.java Fri Jun 24 07:40:39 2005
@@ -31,14 +31,18 @@
* Empty Constructor
* Constructs a new exception with null as its detail message.
*/
- public ServiceException() {}
+ public ServiceException() {
+ super();
+ }
/**
* Constructor
* Constructs a new exception with the specified detail message.
* @param message - The detail message which is later retrieved using the getMessage method
*/
- public ServiceException(java.lang.String message) {}
+ public ServiceException(java.lang.String message) {
+ super(message);
+ }
/**
* Constructor
@@ -47,7 +51,9 @@
* @param cause - The cause which is saved for the later retrieval throw by the getCause method
*/
public ServiceException(java.lang.String message,
- java.lang.Throwable cause) {}
+ java.lang.Throwable cause) {
+ super(message, cause);
+ }
/**
* Constructor
@@ -56,7 +62,9 @@
* the class and detail message of cause).
* @param cause - The cause which is saved for the later retrieval throw by the getCause method. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
*/
- public ServiceException(java.lang.Throwable cause) {}
+ public ServiceException(java.lang.Throwable cause) {
+ super(cause==null ? null : cause.toString(), cause);
+ }
/**
* Method getLinkedCause
@@ -64,6 +72,6 @@
* @return The cause of this Exception or null if the cause is noexistent or unknown
*/
public java.lang.Throwable getLinkedCause() {
- return null;
+ return getCause();
}
}