Exception Handling

@API_IDX@

Raising and Catching exceptions

mono_raise_exception

mono_unhandled_exception

mono_print_unhandled_exception

mono_handle_exception

Exception Types: General API

mono_exception_from_name_domain

mono_exception_from_name

mono_exception_from_name_msg

mono_exception_from_name_two_strings

Obtaining Common Exceptions

There are a number of common exceptions that are used by the runtime, use the routines in this section to get a copy of those exceptions.

mono_get_exception_appdomain_unloaded

mono_get_exception_argument

mono_get_exception_argument_null

mono_get_exception_argument_out_of_range

mono_get_exception_arithmetic

mono_get_exception_array_type_mismatch

mono_get_exception_bad_image_format

mono_get_exception_cannot_unload_appdomain

mono_get_exception_class

mono_get_exception_divide_by_zero

mono_get_exception_execution_engine

mono_get_exception_file_not_found2

mono_get_exception_file_not_found

mono_get_exception_index_out_of_range

mono_get_exception_invalid_cast

mono_get_exception_io

mono_get_exception_missing_method

mono_get_exception_not_implemented

mono_get_exception_null_reference

mono_get_exception_overflow

mono_get_exception_security

mono_get_exception_serialization

mono_get_exception_stack_overflow

mono_get_exception_synchronization_lock

mono_get_exception_thread_abort

mono_get_exception_thread_state

mono_get_exception_type_initialization

mono_get_exception_type_load

mono_get_exception_invalid_operation

mono_get_exception_missing_field

mono_get_exception_not_supported

mono_get_exception_reflection_type_load