1package org.bouncycastle.cms; 2 3public class CMSAttributeTableGenerationException 4 extends CMSRuntimeException 5{ 6 Exception e; 7 8 public CMSAttributeTableGenerationException( 9 String name) 10 { 11 super(name); 12 } 13 14 public CMSAttributeTableGenerationException( 15 String name, 16 Exception e) 17 { 18 super(name); 19 20 this.e = e; 21 } 22 23 public Exception getUnderlyingException() 24 { 25 return e; 26 } 27 28 public Throwable getCause() 29 { 30 return e; 31 } 32} 33