NegativeArraySizeException

Summary

Represents a negative array size exception.

Description

Represents a negative array size exception.

Examples

Example of how this exception might be encountered
1
2
3
4
5
6
7
8
9
import System;
import System.Exceptions;
 
try {
    auto a = new System.Array<int>(-1);
}
catch(NegativeArraySizeException e) {
    Console.error(e);
}

Share

HTML | BBCode | Direct Link