InsufficientCapacityException Constructor
Namespace: Riptide
Assembly: RiptideNetworking.dll
Overloads
InsufficientCapacityException() | Initializes a new InsufficientCapacityException instance. |
InsufficientCapacityException(string) | Initializes a new InsufficientCapacityException instance with a specified error message. |
InsufficientCapacityException(string, Exception) | Initializes a new InsufficientCapacityException instance with a specified error message and a reference to the inner exception that is the cause of this exception. |
InsufficientCapacityException(Message, int) | Initializes a new InsufficientCapacityException instance and constructs an error message from the given information. |
InsufficientCapacityException(Message, string, int) | Initializes a new InsufficientCapacityException instance and constructs an error message from the given information. |
InsufficientCapacityException(Message, int, string, int) | Initializes a new InsufficientCapacityException instance and constructs an error message from the given information. |
InsufficientCapacityException()
Initializes a new InsufficientCapacityException instance.
public InsufficientCapacityException()
InsufficientCapacityException(string)
Initializes a new InsufficientCapacityException instance with a specified error message.
public InsufficientCapacityException(string message)
Parameters
string | message |
The error message that explains the reason for the exception. |
InsufficientCapacityException(string, Exception)
Initializes a new InsufficientCapacityException instance with a specified error message and a reference to the inner exception that is the cause of this exception.
public InsufficientCapacityException(string message, Exception inner)
Parameters
string | message |
The error message that explains the reason for the exception. |
Exception | inner |
The exception that is the cause of the current exception. If |
InsufficientCapacityException(Message, int)
Initializes a new InsufficientCapacityException instance and constructs an error message from the given information.
public InsufficientCapacityException(Message message, int reserveBits)
Parameters
Message | message |
The message with insufficient remaining capacity. |
int | reserveBits |
The number of bits which were attempted to be reserved. |
InsufficientCapacityException(Message, string, int)
Initializes a new InsufficientCapacityException instance and constructs an error message from the given information.
public InsufficientCapacityException(Message message, string typeName, int requiredBits)
Parameters
Message | message |
The message with insufficient remaining capacity. |
string | typeName |
The name of the type which could not be added to the message. |
int | requiredBits |
The number of available bits required for the type to be added successfully. |
InsufficientCapacityException(Message, int, string, int)
Initializes a new InsufficientCapacityException instance and constructs an error message from the given information.
public InsufficientCapacityException(Message message, int arrayLength, string typeName, int requiredBits)
Parameters
Message | message |
The message with insufficient remaining capacity. |
int | arrayLength |
The length of the array which could not be added to the message. |
string | typeName |
The name of the array's type. |
int | requiredBits |
The number of available bits required for a single element of the array to be added successfully. |