1 package org.bouncycastle.crypto;
4 * this exception is thrown if a buffer that is meant to have output
5 * copied into it turns out to be too short, or if we've been given
6 * insufficient input. In general this exception will get thrown rather
7 * than an ArrayOutOfBounds exception.
9 public class DataLengthException
10 extends RuntimeCryptoException
15 public DataLengthException()
20 * create a DataLengthException with the given message.
22 * @param message the message to be carried with the exception.
24 public DataLengthException(