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