diff options
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/MaxBytesExceededException.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/MaxBytesExceededException.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/MaxBytesExceededException.java b/core/src/main/java/org/bouncycastle/crypto/MaxBytesExceededException.java new file mode 100644 index 00000000..bfa15442 --- /dev/null +++ b/core/src/main/java/org/bouncycastle/crypto/MaxBytesExceededException.java @@ -0,0 +1,27 @@ +package org.bouncycastle.crypto; + +/** + * this exception is thrown whenever a cipher requires a change of key, iv + * or similar after x amount of bytes enciphered + */ +public class MaxBytesExceededException + extends RuntimeCryptoException +{ + /** + * base constructor. + */ + public MaxBytesExceededException() + { + } + + /** + * create an with the given message. + * + * @param message the message to be carried with the exception. + */ + public MaxBytesExceededException( + String message) + { + super(message); + } +} |