1    package org.bouncycastle.crypto;
2    
3    /**
4     * this exception is thrown whenever we find something we don't expect in a
5     * message.
6     */
7    public class InvalidCipherTextException 
8        extends CryptoException
9    {
10       /**
11        * base constructor.
12        */
13       public InvalidCipherTextException()
14       {
15       }
16   
17       /**
18        * create a InvalidCipherTextException with the given message.
19        *
20        * @param message the message to be carried with the exception.
21        */
22       public InvalidCipherTextException(
23           String  message)
24       {
25           super(message);
26       }
27   }
28