Table of Contents

Class DataLengthException

Namespace
Org.BouncyCastle.Crypto
Assembly
BouncyCastle.Cryptography.dll

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.

[Serializable]
public class DataLengthException : CryptoException, ISerializable
Inheritance
DataLengthException
Implements
Derived
Inherited Members

Remarks

In general this exception will get thrown rather than an IndexOutOfRangeException.

Constructors

DataLengthException()

public DataLengthException()

DataLengthException(SerializationInfo, StreamingContext)

protected DataLengthException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
context StreamingContext

DataLengthException(string)

public DataLengthException(string message)

Parameters

message string

DataLengthException(string, Exception)

public DataLengthException(string message, Exception innerException)

Parameters

message string
innerException Exception