axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject cvs commit: ws-axis/java/src/javax/xml/rpc JAXRPCException.java ServiceException.java
Date Wed, 12 May 2004 05:34:36 GMT
gawor       2004/05/11 22:34:36

  Modified:    java/src/javax/xml/rpc JAXRPCException.java
                        ServiceException.java
  Log:
  undo recent commit. causes jaxrpc signature tests to fail
  
  Revision  Changes    Path
  1.16      +1 -30     ws-axis/java/src/javax/xml/rpc/JAXRPCException.java
  
  Index: JAXRPCException.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/javax/xml/rpc/JAXRPCException.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- JAXRPCException.java	10 May 2004 21:16:46 -0000	1.15
  +++ JAXRPCException.java	12 May 2004 05:34:36 -0000	1.16
  @@ -73,7 +73,7 @@
        *          unknown.)
        */
       public JAXRPCException(Throwable cause) {
  -        super(cause.toString());
  +        super( (cause == null) ? null : cause.toString() );
           this.cause = cause;
       }
       
  @@ -85,35 +85,6 @@
        */
       public Throwable getLinkedCause() {
           return cause;
  -    }
  -    
  -    public void printStackTrace() { 
  -        synchronized (System.err) {
  -            System.err.println(this);
  -            printStackTrace(System.err);
  -        }
  -    }
  -    
  -    public void printStackTrace(java.io.PrintStream ps) {
  -        if (this.cause == null) {
  -            super.printStackTrace(ps);
  -        } else {
  -            synchronized(ps) {
  -                ps.println(this);
  -                this.cause.printStackTrace(ps);
  -            }
  -        }
  -    }
  -    
  -    public void printStackTrace(java.io.PrintWriter pw) {
  -        if (this.cause == null) {
  -            super.printStackTrace(pw);
  -        } else {
  -            synchronized(pw) {
  -                pw.println(this);
  -                this.cause.printStackTrace(pw);
  -            }
  -        }
       }
       
   }
  
  
  
  1.10      +1 -30     ws-axis/java/src/javax/xml/rpc/ServiceException.java
  
  Index: ServiceException.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/javax/xml/rpc/ServiceException.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ServiceException.java	10 May 2004 21:16:46 -0000	1.9
  +++ ServiceException.java	12 May 2004 05:34:36 -0000	1.10
  @@ -75,7 +75,7 @@
        *          unknown.)
        */
       public ServiceException(Throwable cause) {
  -        super(cause.toString());
  +        super( (cause == null) ? null : cause.toString() );
           this.cause = cause;
       }
       
  @@ -87,35 +87,6 @@
        */
       public Throwable getLinkedCause() {
           return cause;
  -    }
  -    
  -    public void printStackTrace() { 
  -        synchronized (System.err) {
  -            System.err.println(this);
  -            printStackTrace(System.err);
  -        }
  -    }
  -    
  -    public void printStackTrace(java.io.PrintStream ps) {
  -        if (this.cause == null) {
  -            super.printStackTrace(ps);
  -        } else {
  -            synchronized(ps) {
  -                ps.println(this);
  -                this.cause.printStackTrace(ps);
  -            }
  -        }
  -    }
  -    
  -    public void printStackTrace(java.io.PrintWriter pw) {
  -        if (this.cause == null) {
  -            super.printStackTrace(pw);
  -        } else {
  -            synchronized(pw) {
  -                pw.println(this);
  -                this.cause.printStackTrace(pw);
  -            }
  -        }
       }
       
   }
  
  
  

Mime
View raw message