commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester/xmlrules XmlLoadException.java
Date Mon, 01 Mar 2004 07:20:40 GMT
skitching    2004/02/29 23:20:40

  Modified:    digester/src/java/org/apache/commons/digester/xmlrules
                        XmlLoadException.java
  Log:
  Added getCause() method - see bugzilla 22383
  
  Revision  Changes    Path
  1.8       +8 -0      jakarta-commons/digester/src/java/org/apache/commons/digester/xmlrules/XmlLoadException.java
  
  Index: XmlLoadException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/xmlrules/XmlLoadException.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XmlLoadException.java	28 Feb 2004 13:32:53 -0000	1.7
  +++ XmlLoadException.java	1 Mar 2004 07:20:40 -0000	1.8
  @@ -44,4 +44,12 @@
           this(msg);
           this.cause = cause;
       }
  +    
  +    /** 
  +     * Returns the cause of this throwable or null if the cause is 
  +     * nonexistent or unknown. 
  +     */
  +    public Throwable getCause() {
  +        return cause;
  +    }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message