Top Description Constructors
org.bouncycastle.crypto

public Class DataLengthException

extends RuntimeCryptoException
Class Inheritance
Known Direct Subclasses
org.bouncycastle.crypto.OutputLengthException

this exception is thrown if a buffer that is meant to have output copied into it turns out to be too short, or if we've been given insufficient input. In general this exception will get thrown rather than an ArrayOutOfBounds exception.

Constructor Summary

AccessConstructor and Description
public
DataLengthException()

base constructor.

public
DataLengthException(String
the message to be carried with the exception.
message
)

create a DataLengthException with the given message.

Constructor Detail

DataLengthExceptionback to summary
public DataLengthException()

base constructor.

DataLengthExceptionback to summary
public DataLengthException(String message)

create a DataLengthException with the given message.

Parameters
message:String

the message to be carried with the exception.