ggregory 2004/09/08 10:45:21
Modified: codec/src/java/org/apache/commons/codec
EncoderException.java DecoderException.java
Log:
Declares the Serial Version Uid for exceptions.
Revision Changes Path
1.11 +8 -1
jakarta-commons/codec/src/java/org/apache/commons/codec/EncoderException.java
Index: EncoderException.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/codec/src/java/org/apache/commons/codec/EncoderException.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- EncoderException.java 29 Feb 2004 04:08:31 -0000 1.10
+++ EncoderException.java 8 Sep 2004 17:45:21 -0000 1.11
@@ -28,6 +28,13 @@
public class EncoderException extends Exception {
/**
+ * Declares the Serial Version Uid.
+ *
+ * @see <a href="http://c2.com/cgi/wiki?AlwaysDeclareSerialVersionUid">Always
Declare Serial Version Uid<a>
+ */
+ private static final long serialVersionUID = 1L;
+
+ /**
* Creates a new instance of this exception with an useful message.
*
* @param pMessage a useful message relating to the encoder specific error.
1.10 +8 -1
jakarta-commons/codec/src/java/org/apache/commons/codec/DecoderException.java
Index: DecoderException.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/codec/src/java/org/apache/commons/codec/DecoderException.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- DecoderException.java 29 Feb 2004 04:08:31 -0000 1.9
+++ DecoderException.java 8 Sep 2004 17:45:21 -0000 1.10
@@ -25,6 +25,13 @@
public class DecoderException extends Exception {
/**
+ * Declares the Serial Version Uid.
+ *
+ * @see <a href="http://c2.com/cgi/wiki?AlwaysDeclareSerialVersionUid">Always
Declare Serial Version Uid<a>
+ */
+ private static final long serialVersionUID = 1L;
+
+ /**
* Creates a DecoderException
*
* @param pMessage A message with meaning to a human
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]