01: package org.bouncycastle.crypto;
02:
03: /**
04: * this exception is thrown whenever a cipher requires a change of key, iv
05: * or similar after x amount of bytes enciphered
06: */
07: public class MaxBytesExceededException extends RuntimeCryptoException {
08: /**
09: * base constructor.
10: */
11: public MaxBytesExceededException() {
12: }
13:
14: /**
15: * create an with the given message.
16: *
17: * @param message the message to be carried with the exception.
18: */
19: public MaxBytesExceededException(String message) {
20: super(message);
21: }
22: }
|