using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace System { /// The exception that is thrown when a non-fatal application error occurs. /// 2 // Token: 0x02000634 RID: 1588 [ComVisible(true)] [Serializable] public class ApplicationException : Exception { /// Initializes a new instance of the class. // Token: 0x06003AFA RID: 15098 RVA: 0x000C952C File Offset: 0x000C772C public ApplicationException() : base(Locale.GetText("An application exception has occurred.")) { base.HResult = -2146232832; } /// Initializes a new instance of the class with a specified error message. /// A message that describes the error. // Token: 0x06003AFB RID: 15099 RVA: 0x000C954C File Offset: 0x000C774C public ApplicationException(string message) : base(message) { base.HResult = -2146232832; } /// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. /// The error message that explains the reason for the exception. /// The exception that is the cause of the current exception. If the parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. // Token: 0x06003AFC RID: 15100 RVA: 0x000C9560 File Offset: 0x000C7760 public ApplicationException(string message, Exception innerException) : base(message, innerException) { base.HResult = -2146232832; } /// Initializes a new instance of the class with serialized data. /// The object that holds the serialized object data. /// The contextual information about the source or destination. // Token: 0x06003AFD RID: 15101 RVA: 0x000C9578 File Offset: 0x000C7778 protected ApplicationException(SerializationInfo info, StreamingContext context) : base(info, context) { } // Token: 0x04001799 RID: 6041 private const int Result = -2146232832; } }