You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
854 B
40 lines
854 B
using System;
|
|
|
|
namespace Org.BouncyCastle.Crypto
|
|
{
|
|
/**
|
|
* this exception is thrown whenever we find something we don't expect in a
|
|
* message.
|
|
*/
|
|
#if !(NETCF_1_0 || NETCF_2_0 || SILVERLIGHT || PORTABLE)
|
|
[Serializable]
|
|
#endif
|
|
public class InvalidCipherTextException
|
|
: CryptoException
|
|
{
|
|
/**
|
|
* base constructor.
|
|
*/
|
|
public InvalidCipherTextException()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* create a InvalidCipherTextException with the given message.
|
|
*
|
|
* @param message the message to be carried with the exception.
|
|
*/
|
|
public InvalidCipherTextException(
|
|
string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
public InvalidCipherTextException(
|
|
string message,
|
|
Exception exception)
|
|
: base(message, exception)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|