diff options
-rw-r--r-- | mcs/class/corlib/System/AppDomainUnloadedException.cs | 42 | ||||
-rw-r--r-- | mcs/class/corlib/System/CannotUnloadAppDomainException.cs | 42 | ||||
-rw-r--r-- | mcs/class/corlib/System/ContextMarshalException.cs | 42 | ||||
-rw-r--r-- | mcs/class/corlib/System/EntryPointNotFoundException.cs | 42 | ||||
-rw-r--r-- | mcs/class/corlib/System/FieldAccessException.cs | 42 | ||||
-rw-r--r-- | mcs/class/corlib/System/MethodAccessException.cs | 42 | ||||
-rw-r--r-- | mcs/class/corlib/System/MissingFieldException.cs | 45 | ||||
-rw-r--r-- | mcs/class/corlib/System/TypeUnloadedException.cs | 43 |
8 files changed, 340 insertions, 0 deletions
diff --git a/mcs/class/corlib/System/AppDomainUnloadedException.cs b/mcs/class/corlib/System/AppDomainUnloadedException.cs new file mode 100644 index 00000000000..f41824e8bba --- /dev/null +++ b/mcs/class/corlib/System/AppDomainUnloadedException.cs @@ -0,0 +1,42 @@ +// +// System.AppDomainUnloadedException.cs +// +// Author: +// Duncan Mak (duncan@ximian.com) +// +// 2002 (C) Ximian, Inc. http://www.ximian.com +// + +using System; +using System.Globalization; +using System.Runtime.Serialization; + +namespace System +{ + [Serializable] + public class AppDomainUnloadedException : SystemException + { + // Constructors + public AppDomainUnloadedException () + : base (Locale.GetText ("Can't access an unloaded application domain.")) + { + } + + public AppDomainUnloadedException (string message) + : base (message) + { + } + + protected AppDomainUnloadedException (SerializationInfo info, + StreamingContext context) + : base (info, context) + { + } + + public AppDomainUnloadedException (string message, Exception innerException) + :base (message, innerException) + { + } + + } +} diff --git a/mcs/class/corlib/System/CannotUnloadAppDomainException.cs b/mcs/class/corlib/System/CannotUnloadAppDomainException.cs new file mode 100644 index 00000000000..883f66fb787 --- /dev/null +++ b/mcs/class/corlib/System/CannotUnloadAppDomainException.cs @@ -0,0 +1,42 @@ +// +// System.CannotUnloadAppDomainException +// +// Author: +// Duncan Mak (duncan@ximian.com) +// +// 2002 (C) Ximian, Inc. http://www.ximian.com +// + +using System; +using System.Globalization; +using System.Runtime.Serialization; + +namespace System +{ + [Serializable] + public class CannotUnloadAppDomainException : SystemException + { + // Constructors + public CannotUnloadAppDomainException () + : base (Locale.GetText ("Attempt to unload application domain failed.")) + { + } + + public CannotUnloadAppDomainException (string message) + : base (message) + { + } + + protected CannotUnloadAppDomainException (SerializationInfo info, + StreamingContext context) + : base (info, context) + { + } + + public CannotUnloadAppDomainException (string message, Exception innerException) + :base (message, innerException) + { + } + + } +} diff --git a/mcs/class/corlib/System/ContextMarshalException.cs b/mcs/class/corlib/System/ContextMarshalException.cs new file mode 100644 index 00000000000..40fde84bbac --- /dev/null +++ b/mcs/class/corlib/System/ContextMarshalException.cs @@ -0,0 +1,42 @@ +// +// System.ContextMarshalException.cs +// +// Author: +// Duncan Mak (duncan@ximian.com) +// +// 2002 (C) Ximian, Inc. http://www.ximian.com +// + +using System; +using System.Globalization; +using System.Runtime.Serialization; + +namespace System +{ + [Serializable] + public class ContextMarshalException : SystemException + { + // Constructors + public ContextMarshalException () + : base (Locale.GetText ("Attempt to marshal and object across a context failed.")) + { + } + + public ContextMarshalException (string message) + : base (message) + { + } + + protected ContextMarshalException (SerializationInfo info, + StreamingContext context) + : base (info, context) + { + } + + public ContextMarshalException (string message, Exception innerException) + :base (message, innerException) + { + } + + } +} diff --git a/mcs/class/corlib/System/EntryPointNotFoundException.cs b/mcs/class/corlib/System/EntryPointNotFoundException.cs new file mode 100644 index 00000000000..0a3f85439f7 --- /dev/null +++ b/mcs/class/corlib/System/EntryPointNotFoundException.cs @@ -0,0 +1,42 @@ +// +// System.EntryPointNotFoundException.cs +// +// Author: +// Duncan Mak (duncan@ximian.com) +// +// 2002 (C) Ximian, Inc. http://www.ximian.com +// + +using System; +using System.Globalization; +using System.Runtime.Serialization; + +namespace System +{ + [Serializable] + public class EntryPointNotFoundException : SystemException + { + // Constructors + public EntryPointNotFoundException () + : base (Locale.GetText ("Cannot load class because of missing entry method.")) + { + } + + public EntryPointNotFoundException (string message) + : base (message) + { + } + + protected EntryPointNotFoundException (SerializationInfo info, + StreamingContext context) + : base (info, context) + { + } + + public EntryPointNotFoundException (string message, Exception innerException) + :base (message, innerException) + { + } + + } +} diff --git a/mcs/class/corlib/System/FieldAccessException.cs b/mcs/class/corlib/System/FieldAccessException.cs new file mode 100644 index 00000000000..0fa6a798c8a --- /dev/null +++ b/mcs/class/corlib/System/FieldAccessException.cs @@ -0,0 +1,42 @@ +// +// System.FieldAccessException.cs +// +// Author: +// Duncan Mak (duncan@ximian.com) +// +// 2002 (C) Ximian, Inc. http://www.ximian.com +// + +using System; +using System.Globalization; +using System.Runtime.Serialization; + +namespace System +{ + [Serializable] + public class FieldAccessException : SystemException + { + // Constructors + public FieldAccessException () + : base (Locale.GetText ("Attempt to access a private/protected field failed.")) + { + } + + public FieldAccessException (string message) + : base (message) + { + } + + public FieldAccessException (SerializationInfo info, + StreamingContext context) + : base (info, context) + { + } + + public FieldAccessException (string message, Exception innerException) + :base (message, innerException) + { + } + + } +} diff --git a/mcs/class/corlib/System/MethodAccessException.cs b/mcs/class/corlib/System/MethodAccessException.cs new file mode 100644 index 00000000000..4e0994d9745 --- /dev/null +++ b/mcs/class/corlib/System/MethodAccessException.cs @@ -0,0 +1,42 @@ +// +// System.MethodAccessException.cs +// +// Author: +// Duncan Mak (duncan@ximian.com) +// +// 2002 (C) Ximian, Inc. http://www.ximian.com +// + +using System; +using System.Globalization; +using System.Runtime.Serialization; + +namespace System +{ + [Serializable] + public class MethodAccessException : SystemException + { + // Constructors + public MethodAccessException () + : base (Locale.GetText ("Attempt to access a private/protected method failed.")) + { + } + + public MethodAccessException (string message) + : base (message) + { + } + + public MethodAccessException (SerializationInfo info, + StreamingContext context) + : base (info, context) + { + } + + public MethodAccessException (string message, Exception innerException) + :base (message, innerException) + { + } + + } +} diff --git a/mcs/class/corlib/System/MissingFieldException.cs b/mcs/class/corlib/System/MissingFieldException.cs new file mode 100644 index 00000000000..2decf8c7068 --- /dev/null +++ b/mcs/class/corlib/System/MissingFieldException.cs @@ -0,0 +1,45 @@ +// +// System.MissingFieldException.cs +// +// Author: +// Duncan Mak (duncan@ximian.com) +// +// 2002 (C) Ximian, Inc. http://www.ximian.com +// + +using System; +using System.Globalization; +using System.Runtime.Serialization; + +namespace System +{ + [Serializable] + public class MissingFieldException : MissingMemberException + { + // Constructors + public MissingFieldException () + : base (Locale.GetText ("Field does not exist.")) + { + } + + public MissingFieldException (string message) + : base (message) + { + } + + protected MissingFieldException (SerializationInfo info, + StreamingContext context) + : base (info, context) + { + } + + public MissingFieldException (string message, Exception innerException) + :base (message, innerException) + { + } + + public MissingFieldException (string className, string fieldName) + { + } + } +} diff --git a/mcs/class/corlib/System/TypeUnloadedException.cs b/mcs/class/corlib/System/TypeUnloadedException.cs new file mode 100644 index 00000000000..7853cf4a63c --- /dev/null +++ b/mcs/class/corlib/System/TypeUnloadedException.cs @@ -0,0 +1,43 @@ +// +// System.TypeUnloadedException.cs +// +// Author: +// Duncan Mak (duncan@ximian.com) +// +// 2002 (C) Ximian, Inc. http://www.ximian.com +// + +using System; +using System.Globalization; +using System.Runtime.Serialization; + +namespace System +{ + [Serializable] + public class TypeUnloadedException : SystemException + { + // Constructors + public TypeUnloadedException () + : base (Locale.GetText ("Cannot access an unloaded class.")) + { + } + + public TypeUnloadedException (string message) + : base (message) + { + } + + public TypeUnloadedException (SerializationInfo info, + StreamingContext context) + : base (info, context) + { + } + + public TypeUnloadedException (string message, Exception innerException) + :base (message, innerException) + { + } + + } +} + |