1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-08-04 04:51:53 +02:00
Gadgetbridge/app/src/main/java/org/bouncycastle/shaded/crypto/InvalidCipherTextException.java
José Rebelo 543c8b28d0 Rename org.bouncycastle package
Fixes roboelectric in unit tests.
2023-11-25 21:16:53 +00:00

41 lines
906 B
Java

package org.bouncycastle.shaded.crypto;
/**
* this exception is thrown whenever we find something we don't expect in a
* message.
*/
public class InvalidCipherTextException
extends 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)
{
super(message);
}
/**
* create a InvalidCipherTextException with the given message.
*
* @param message the message to be carried with the exception.
* @param cause the root cause of the exception.
*/
public InvalidCipherTextException(
String message,
Throwable cause)
{
super(message, cause);
}
}