using System;
using System.Runtime.InteropServices;
namespace System
{
/// The exception that is thrown when a unit of data is read from or written to an address that is not a multiple of the data size. This class cannot be inherited.
/// 2
// Token: 0x02000652 RID: 1618
[ComVisible(true)]
[Serializable]
public sealed class DataMisalignedException : SystemException
{
/// Initializes a new instance of the class.
// Token: 0x06003D21 RID: 15649 RVA: 0x000CDB38 File Offset: 0x000CBD38
public DataMisalignedException()
: base(Locale.GetText("A datatype misalignment was detected in a load or store instruction."))
{
base.HResult = -2146233023;
}
/// Initializes a new instance of the class using the specified error message.
/// A object that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
// Token: 0x06003D22 RID: 15650 RVA: 0x000CDB58 File Offset: 0x000CBD58
public DataMisalignedException(string message)
: base(message)
{
base.HResult = -2146233023;
}
/// Initializes a new instance of the class using the specified error message and underlying exception.
/// A object that describes the error. The content of is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
/// The exception that is the cause of the current . If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
// Token: 0x06003D23 RID: 15651 RVA: 0x000CDB6C File Offset: 0x000CBD6C
public DataMisalignedException(string message, Exception innerException)
: base(message, innerException)
{
base.HResult = -2146233023;
}
// Token: 0x04001893 RID: 6291
private const int Result = -2146233023;
}
}