X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fmono-error.h;h=5e1102ec2b842006b8d799e93f969267fef68101;hb=1c3ad5e78c23913341c3b0e221b5f19e92cf96e6;hp=1da46d6f24025414c314a3824850f4827537c164;hpb=aea57f09d430ae672e03d96729d447c814ec867c;p=mono.git diff --git a/mono/utils/mono-error.h b/mono/utils/mono-error.h index 1da46d6f240..5e1102ec2b8 100644 --- a/mono/utils/mono-error.h +++ b/mono/utils/mono-error.h @@ -24,12 +24,15 @@ enum { MONO_ERROR_BAD_IMAGE = 5, MONO_ERROR_OUT_OF_MEMORY = 6, MONO_ERROR_ARGUMENT = 7, + MONO_ERROR_ARGUMENT_NULL = 11, MONO_ERROR_NOT_VERIFIABLE = 8, /* * This is a generic error mechanism is you need to raise an arbitrary corlib exception. * You must pass the exception name otherwise prepare_exception will fail with internal execution. */ - MONO_ERROR_GENERIC = 9 + MONO_ERROR_GENERIC = 9, + /* This one encapsulates a managed exception instance */ + MONO_ERROR_EXCEPTION_INSTANCE = 10 }; /*Keep in sync with MonoErrorInternal*/ @@ -38,7 +41,6 @@ typedef struct _MonoError { unsigned short hidden_0; /*DON'T TOUCH */ void *hidden_1 [12]; /*DON'T TOUCH */ - char hidden_2 [128]; /*DON'T TOUCH */ } MonoError; MONO_BEGIN_DECLS