using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// The exception that is thrown when the format of an argument does not meet the parameter specifications of the invoked method.
/// 2
// Token: 0x0200066D RID: 1645
[ComVisible(true)]
[Serializable]
public class FormatException : SystemException
{
/// Initializes a new instance of the class.
// Token: 0x06003E5F RID: 15967 RVA: 0x000D41EC File Offset: 0x000D23EC
public FormatException()
: base(Locale.GetText("Invalid format."))
{
base.HResult = -2146233033;
}
/// Initializes a new instance of the class with a specified error message.
/// The message that describes the error.
// Token: 0x06003E60 RID: 15968 RVA: 0x000D420C File Offset: 0x000D240C
public FormatException(string message)
: base(message)
{
base.HResult = -2146233033;
}
/// 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 (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.
// Token: 0x06003E61 RID: 15969 RVA: 0x000D4220 File Offset: 0x000D2420
public FormatException(string message, Exception innerException)
: base(message, innerException)
{
base.HResult = -2146233033;
}
/// 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: 0x06003E62 RID: 15970 RVA: 0x000D4238 File Offset: 0x000D2438
protected FormatException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
// Token: 0x040018FE RID: 6398
private const int Result = -2146233033;
}
}