1 package org.bouncycastle.jce.exception; 2 3 /** 4 * 5 * This is an extended exception. Java before version 1.4 did not offer the 6 * possibility the attach a cause to an exception. The cause of an exception is 7 * the <code>Throwable</code> object which was thrown and caused the 8 * exception. This interface must be implemented by all exceptions to accomplish 9 * this additional functionality. 10 * 11 */ 12 public interface ExtException 13 { 14 15 /** 16 * Returns the cause of the exception. 17 * 18 * @return The cause of the exception. 19 */ 20 Throwable getCause(); 21 } 22