summaryrefslogtreecommitdiffstats
path: root/libjava/java/security/cert/CertificateParsingException.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/security/cert/CertificateParsingException.java')
-rw-r--r--libjava/java/security/cert/CertificateParsingException.java36
1 files changed, 19 insertions, 17 deletions
diff --git a/libjava/java/security/cert/CertificateParsingException.java b/libjava/java/security/cert/CertificateParsingException.java
index 8e26acdde30..adc8935d2a7 100644
--- a/libjava/java/security/cert/CertificateParsingException.java
+++ b/libjava/java/security/cert/CertificateParsingException.java
@@ -1,5 +1,5 @@
-/* CertificateParsingException.java --- Certificate Parsing Exception
- Copyright (C) 1999 Free Software Foundation, Inc.
+/* CertificateParsingException.java -- Certificate Parsing Exception
+ Copyright (C) 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-
+
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@@ -39,31 +39,33 @@ exception statement from your version. */
package java.security.cert;
/**
- Exception for a Certificate Parsing.
-
- @since JDK 1.2
-
- @author Mark Benvenuto
+ * Exception for parsing a DER-encoded Certificate.
+ *
+ * @author Mark Benvenuto
+ * @since 1.2
+ * @status updated to 1.4
*/
public class CertificateParsingException extends CertificateException
{
+ /**
+ * Compatible with JDK 1.2+.
+ */
+ private static final long serialVersionUID = -7989222416793322029L;
/**
- Constructs an CertificateParsingException without a message string.
- */
+ * Constructs an exception without a message string.
+ */
public CertificateParsingException()
{
- super();
}
/**
- Constructs an CertificateParsingException with a message string.
-
- @param msg A message to display with exception
- */
+ * Constructs an exception with a message string.
+ *
+ * @param msg a message to display with exception
+ */
public CertificateParsingException(String msg)
{
- super( msg );
+ super(msg);
}
-
}
OpenPOWER on IntegriCloud