1 package org.bouncycastle.crypto; 2 3 /** 4 * the foundation class for the exceptions thrown by the crypto packages. 5 */ 6 public class RuntimeCryptoException 7 extends RuntimeException 8 { 9 /** 10 * base constructor. 11 */ 12 public RuntimeCryptoException() 13 { 14 } 15 16 /** 17 * create a RuntimeCryptoException with the given message. 18 * 19 * @param message the message to be carried with the exception. 20 */ 21 public RuntimeCryptoException( 22 String message) 23 { 24 super(message); 25 } 26 } 27