summaryrefslogtreecommitdiff
path: root/java/security/cert/CertPathBuilderException.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/security/cert/CertPathBuilderException.java')
-rw-r--r--java/security/cert/CertPathBuilderException.java66
1 files changed, 3 insertions, 63 deletions
diff --git a/java/security/cert/CertPathBuilderException.java b/java/security/cert/CertPathBuilderException.java
index 985151010..5906dae93 100644
--- a/java/security/cert/CertPathBuilderException.java
+++ b/java/security/cert/CertPathBuilderException.java
@@ -1,6 +1,6 @@
/* CertPathBuilderException.java -- wraps an exception during certificate
path building
- Copyright (C) 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2005, 2015 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -39,8 +39,6 @@ exception statement from your version. */
package java.security.cert;
-import java.io.PrintStream;
-import java.io.PrintWriter;
import java.security.GeneralSecurityException;
/**
@@ -84,7 +82,7 @@ public class CertPathBuilderException extends GeneralSecurityException
*/
public CertPathBuilderException(Throwable cause)
{
- this(cause == null ? null : cause.toString(), cause);
+ super(cause);
}
/**
@@ -95,65 +93,7 @@ public class CertPathBuilderException extends GeneralSecurityException
*/
public CertPathBuilderException(String msg, Throwable cause)
{
- super(msg);
- initCause(cause);
- }
-
- /**
- * Get the detail message.
- *
- * @return the detail message
- */
- public String getMessage()
- {
- return super.getMessage();
- }
-
- /**
- * Get the cause, null if unknown.
- *
- * @return the cause
- */
- public Throwable getCause()
- {
- return super.getCause();
+ super(msg, cause);
}
- /**
- * Convert this to a string, including its cause.
- *
- * @return the string conversion
- */
- public String toString()
- {
- return super.toString();
- }
-
- /**
- * Print the stack trace to <code>System.err</code>.
- */
- public void printStackTrace()
- {
- super.printStackTrace();
- }
-
- /**
- * Print the stack trace to a stream.
- *
- * @param stream the stream
- */
- public void printStackTrace(PrintStream stream)
- {
- super.printStackTrace(stream);
- }
-
- /**
- * Print the stack trace to a stream.
- *
- * @param stream the stream
- */
- public void printStackTrace(PrintWriter stream)
- {
- super.printStackTrace(stream);
- }
}