Versions/v1.0.5/English

Common Runtime Exceptions

Sections1
On This Page1
API Symbols5

Common Runtime Exceptions

The Cangjie language has built-in the most common exception classes that developers can directly use.

| Exception | Description |
| :------------------------------------ | :------------------------------------------------------ |
| ConcurrentModificationException | Exception caused by concurrent modification |
| IllegalArgumentException | Exception thrown when passing illegal or incorrect arguments |
| NegativeArraySizeException | Exception thrown when creating an array with negative size |
| NoneValueException | Exception caused when a value does not exist, such as a key not found in a Map |
| OverflowException | Arithmetic overflow exception |