directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r367139 - /directory/trunk/asn1/src/main/java/org/apache/asn1/codec/DecoderException.java
Date Mon, 09 Jan 2006 00:18:53 GMT
Author: elecharny
Date: Sun Jan  8 16:18:50 2006
New Revision: 367139

URL: http://svn.apache.org/viewcvs?rev=367139&view=rev
Log:
Added a constructor with a cause parameter

Modified:
    directory/trunk/asn1/src/main/java/org/apache/asn1/codec/DecoderException.java

Modified: directory/trunk/asn1/src/main/java/org/apache/asn1/codec/DecoderException.java
URL: http://svn.apache.org/viewcvs/directory/trunk/asn1/src/main/java/org/apache/asn1/codec/DecoderException.java?rev=367139&r1=367138&r2=367139&view=diff
==============================================================================
--- directory/trunk/asn1/src/main/java/org/apache/asn1/codec/DecoderException.java (original)
+++ directory/trunk/asn1/src/main/java/org/apache/asn1/codec/DecoderException.java Sun Jan
 8 16:18:50 2006
@@ -34,10 +34,20 @@
     /**
      * Creates a DecoderException
      * 
-     * @param pMessage A message with meaning to a human
+     * @param message A message with meaning to a human
      */
-    public DecoderException(String pMessage) {
-        super(pMessage);
+    public DecoderException(String message) {
+        super( message );
+    }
+
+    /**
+     * Creates a DecoderException
+     * 
+     * @param message A message with meaning to a human
+     * @param cause The Exception which caused the error
+     */
+    public DecoderException(String message, Throwable cause ) {
+        super( message, cause );
     }
 
 }  



Mime
View raw message