summaryrefslogtreecommitdiffstats
path: root/base/util/src/netscape/security/x509/CertParseError.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/util/src/netscape/security/x509/CertParseError.java')
-rw-r--r--base/util/src/netscape/security/x509/CertParseError.java40
1 files changed, 40 insertions, 0 deletions
diff --git a/base/util/src/netscape/security/x509/CertParseError.java b/base/util/src/netscape/security/x509/CertParseError.java
new file mode 100644
index 000000000..7328c7207
--- /dev/null
+++ b/base/util/src/netscape/security/x509/CertParseError.java
@@ -0,0 +1,40 @@
+// --- BEGIN COPYRIGHT BLOCK ---
+// This program 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; version 2 of the License.
+//
+// This program 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with this program; if not, write to the Free Software Foundation, Inc.,
+// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+//
+// (C) 2007 Red Hat, Inc.
+// All rights reserved.
+// --- END COPYRIGHT BLOCK ---
+package netscape.security.x509;
+
+//back out these changes until backwards compatibility with
+//CertException is not an issue.
+//import java.security.CertificateException;
+
+/**
+ * CertException indicates one of a variety of certificate problems.
+ *
+ * @version 1.7
+ * @author David Brownell
+ */
+
+class CertParseError extends CertException {
+ /**
+ *
+ */
+ private static final long serialVersionUID = -7623327377774730807L;
+
+ CertParseError(String where) {
+ super(CertException.verf_PARSE_ERROR, where);
+ }
+}