1package org.bouncycastle.cmc; 2 3public class CMCException 4 extends Exception 5{ 6 private final Throwable cause; 7 8 public CMCException(String msg) 9 { 10 this(msg, null); 11 } 12 13 public CMCException(String msg, Throwable cause) 14 { 15 super(msg); 16 this.cause = cause; 17 } 18 19 public Throwable getCause() 20 { 21 return cause; 22 } 23} 24