IntegerOutOfRangeException

Summary

Represents an integer out of range exception.

Description

Represents an integer out of range exception.

Examples

Example of how this exception might be encountered
1
2
3
4
5
6
7
8
9
10
import System;
import System.Exceptions;
 
try {
    // Range for byte/UInteger8 is 0-255
    byte x = UInteger8.fromStringOrThrow("256");
}
catch(IntegerOutOfRangeException e) {
    Console.error(e);
}

Methods

Share

HTML | BBCode | Direct Link