/usr/include/mono-2.0/mono/metadata/exception.h is in libmono-2.0-dev 2.10.8.1-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | #ifndef _MONO_METADATA_EXCEPTION_H_
#define _MONO_METADATA_EXCEPTION_H_
/* here for compat: should not be used anymore */
#define MONO_ARCH_SAVE_REGS
#include <mono/metadata/object.h>
#include <mono/metadata/image.h>
MONO_BEGIN_DECLS
extern MonoException *
mono_exception_from_name (MonoImage *image,
const char* name_space,
const char *name);
MonoException *
mono_exception_from_token (MonoImage *image, uint32_t token);
MonoException *
mono_exception_from_name_two_strings (MonoImage *image, const char *name_space,
const char *name, MonoString *a1, MonoString *a2);
MonoException *
mono_exception_from_name_msg (MonoImage *image, const char *name_space,
const char *name, const char *msg);
MonoException *
mono_exception_from_token_two_strings (MonoImage *image, uint32_t token,
MonoString *a1, MonoString *a2);
extern MonoException *
mono_exception_from_name_domain (MonoDomain *domain, MonoImage *image,
const char* name_space,
const char *name);
MonoException *
mono_get_exception_divide_by_zero (void);
MonoException *
mono_get_exception_security (void);
MonoException *
mono_get_exception_arithmetic (void);
MonoException *
mono_get_exception_overflow (void);
MonoException *
mono_get_exception_null_reference (void);
MonoException *
mono_get_exception_execution_engine (const char *msg);
MonoException *
mono_get_exception_thread_abort (void);
MonoException *
mono_get_exception_thread_state (const char *msg);
MonoException *
mono_get_exception_thread_interrupted (void);
MonoException *
mono_get_exception_serialization (const char *msg);
MonoException *
mono_get_exception_invalid_cast (void);
MonoException *
mono_get_exception_invalid_operation (const char *msg);
MonoException *
mono_get_exception_index_out_of_range (void);
MonoException *
mono_get_exception_array_type_mismatch (void);
MonoException *
mono_get_exception_type_load (MonoString *class_name, char *assembly_name);
MonoException *
mono_get_exception_missing_method (const char *class_name, const char *member_name);
MonoException *
mono_get_exception_missing_field (const char *class_name, const char *member_name);
MonoException *
mono_get_exception_not_implemented (const char *msg);
MonoException *
mono_get_exception_not_supported (const char *msg);
MonoException*
mono_get_exception_argument_null (const char *arg);
MonoException *
mono_get_exception_argument (const char *arg, const char *msg);
MonoException *
mono_get_exception_argument_out_of_range (const char *arg);
MonoException *
mono_get_exception_io (const char *msg);
MonoException *
mono_get_exception_file_not_found (MonoString *fname);
MonoException *
mono_get_exception_file_not_found2 (const char *msg, MonoString *fname);
MonoException *
mono_get_exception_type_initialization (const char *type_name, MonoException *inner);
MonoException *
mono_get_exception_synchronization_lock (const char *msg);
MonoException *
mono_get_exception_cannot_unload_appdomain (const char *msg);
MonoException *
mono_get_exception_appdomain_unloaded (void);
MonoException *
mono_get_exception_bad_image_format (const char *msg);
MonoException *
mono_get_exception_bad_image_format2 (const char *msg, MonoString *fname);
MonoException *
mono_get_exception_stack_overflow (void);
MonoException *
mono_get_exception_out_of_memory (void);
MonoException *
mono_get_exception_field_access (void);
MonoException *
mono_get_exception_method_access (void);
MonoException *
mono_get_exception_reflection_type_load (MonoArray *types, MonoArray *exceptions);
MonoException *
mono_get_exception_runtime_wrapped (MonoObject *wrapped_exception);
MONO_END_DECLS
#endif /* _MONO_METADATA_EXCEPTION_H_ */
|