1 package org.bouncycastle.cert; 2 3 /** 4 * General checked Exception thrown in the cert package and its sub-packages. 5 */ 6 public class CertException 7 extends Exception 8 { 9 private Throwable cause; 10 CertException(String msg, Throwable cause)11 public CertException(String msg, Throwable cause) 12 { 13 super(msg); 14 15 this.cause = cause; 16 } 17 CertException(String msg)18 public CertException(String msg) 19 { 20 super(msg); 21 } 22 getCause()23 public Throwable getCause() 24 { 25 return cause; 26 } 27 } 28