You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2006/01/09 01:18:53 UTC
svn commit: r367139 -
/directory/trunk/asn1/src/main/java/org/apache/asn1/codec/DecoderException.java
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 );
}
}