Parameters
Remarksex: exception object
Signal the runtime that the exception ex has been raised in unmanaged code.
Parameters
Remarksexc: exception thrown
This is a VM internal routine. We call this function when we detect an unhandled exception in the default domain. It invokes the * UnhandledException event in AppDomain or prints a warning to the console
Parameters
Remarksexc: The exception
Prints the unhandled exception.
Parameters
Returnsdomain: Domain where the return object will be created. image: the Mono image where to look for the class name_space: the namespace for the class name: class name
the initialized exception instance.Remarks
Creates an exception object of the given namespace/name class on the given domain.
Parameters
Returnsimage: the Mono image where to look for the class name_space: the namespace for the class name: class name
the initialized exception instance.Remarks
Creates an exception of the given namespace/name class in the current domain.
Parameters
Returnsimage: the Mono image where to look for the class name_space: the namespace for the class name: class name msg: the message to embed inside the exception
the initialized exception instance.Remarks
Creates an exception and initializes its message field.
Parameters
Returnsimage: the Mono image where to look for the class name_space: the namespace for the class name: class name a1: first string argument to pass a2: second string argument to pass
the initialized exception instance.Remarks
Creates an exception from a constructor that takes two string arguments.
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.
Returns
a new instance of the System.AppDomainUnloadedException
Parameters
Returnsarg: the name of the invalid argument.
a new instance of the System.ArgumentException
Parameters
Returnsarg: the name of the argument that is null
a new instance of the System.ArgumentNullException
Parameters
Returnsarg: the name of the out of range argument.
a new instance of the System.ArgumentOutOfRangeException
Returns
a new instance of the System.ArithmeticException.
Returns
a new instance of the System.ArrayTypeMismatchException
Parameters
Returnsmsg: an informative message for the user.
a new instance of the System.BadImageFormatException
Parameters
Returnsinner: the inner exception.
a new instance of the System.CannotUnloadAppDomainException
Returns
a new instance of the System.DivideByZeroException
Parameters
Returnsmsg: the message to pass to the user
a new instance of the System.ExecutionEngineException
Parameters
Returnsmsg: an informative message for the user. fname: the name of the file not found.
a new instance of the System.IO.FileNotFoundException
Parameters
Returnsfname: the name of the file not found.
a new instance of the System.IO.FileNotFoundException
Returns
a new instance of the System.IndexOutOfRangeException
Returns
a new instance of the System.InvalidCastException
Parameters
Returnsmsg: the message to present to the user
a new instance of the System.IO.IOException
Parameters
Returnsclass_name: the class where the lookup was performed. member_name: the name of the missing method.
a new instance of the System.MissingMethodException
Parameters
Returnsmsg: the message to pass to the user
a new instance of the System.NotImplementedException
Returns
a new instance of the System.NullReferenceException
Returns
a new instance of the System.OverflowException
Returns
a new instance of the System.Security.SecurityException
Parameters
Returnsmsg: the message to pass to the user
a new instance of the System.Runtime.Serialization.SerializationException
Returns
a new instance of the System.StackOverflowException
Parameters
Returnsinner: the inner exception.
a new instance of the System.SynchronizationLockException
Returns
a new instance of the System.Threading.ThreadAbortException.
Parameters
Returnsmsg: the message to present to the user
a new instance of the System.Threading.ThreadStateException
Parameters
Returnstype_name: the name of the type that failed to initialize. inner: the inner exception.
a new instance of the System.TypeInitializationException
Parameters
Returnsclass_name: the name of the class that could not be loaded assembly_name: the assembly where the class was looked up.
a new instance of the System.TypeLoadException.
Parameters
Returnsmsg: the message to pass to the user
a new instance of the System.InvalidOperationException
Parameters
Returnsclass_name: the class where the lookup was performed member_name: the name of the missing method.
a new instance of the System.MissingFieldException
Parameters
Returnsmsg: the message to pass to the user
a new instance of the System.NotSupportedException