Home | History | Annotate | Download | only in exception
      1 package org.bouncycastle.jce.exception;
      2 
      3 import java.security.cert.CertPath;
      4 import java.security.cert.CertPathBuilderException;
      5 
      6 public class ExtCertPathBuilderException
      7     extends CertPathBuilderException
      8     implements ExtException
      9 {
     10     private Throwable cause;
     11 
     12     public ExtCertPathBuilderException(String message, Throwable cause)
     13     {
     14         super(message);
     15         this.cause = cause;
     16     }
     17 
     18     public ExtCertPathBuilderException(String msg, Throwable cause,
     19         CertPath certPath, int index)
     20     {
     21         super(msg, cause);
     22         this.cause = cause;
     23     }
     24 
     25     public Throwable getCause()
     26     {
     27         return cause;
     28     }
     29 }
     30