Please enable JavaScript to use CodeHS

CodeHS Glossary


exception General

An object that represents an error during program execution, such as dividing an int by zero. If an exception is thrown and not caught, the program stops and prints an error message.