Class BufferOverflowException
The exception that is thrown when an internal buffer capacity is exceeded.
Namespace: Unity.Serialization
Syntax
[Serializable]
public class BufferOverflowException : Exception, ISerializable, _Exception
Constructors
BufferOverflowException(SerializationInfo, StreamingContext)
Initializes a new instance of the BufferOverflowException class with serialized data.
Declaration
protected BufferOverflowException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
BufferOverflowException(String)
Initialized a new instance of the BufferOverflowException class with a specified error message.
Declaration
public BufferOverflowException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
BufferOverflowException(String, Exception)
Initializes a new instance of the BufferOverflowException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public BufferOverflowException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | inner | The inner exception reference. |