51 lines
2.3 KiB
C#
51 lines
2.3 KiB
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Data
|
|
{
|
|
/// <summary>Represents the exception that is thrown when errors are generated using ADO.NET components.</summary>
|
|
// Token: 0x02000019 RID: 25
|
|
[Token(Token = "0x2000019")]
|
|
[Serializable]
|
|
public class DataException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Data.DataException" /> class with the specified serialization information and context.</summary>
|
|
/// <param name="info">The data necessary to serialize or deserialize an object.</param>
|
|
/// <param name="context">Description of the source and destination of the specified serialized stream.</param>
|
|
// Token: 0x0600013F RID: 319 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x600013F")]
|
|
[Address(RVA = "0xCE31C0", Offset = "0xCE21C0", VA = "0x180CE31C0")]
|
|
protected DataException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Data.DataException" /> class. This is the default constructor.</summary>
|
|
// Token: 0x06000140 RID: 320 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000140")]
|
|
[Address(RVA = "0xCE3240", Offset = "0xCE2240", VA = "0x180CE3240")]
|
|
public DataException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Data.DataException" /> class with the specified string.</summary>
|
|
/// <param name="s">The string to display when the exception is thrown.</param>
|
|
// Token: 0x06000141 RID: 321 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000141")]
|
|
[Address(RVA = "0xCE3290", Offset = "0xCE2290", VA = "0x180CE3290")]
|
|
public DataException(string s)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Data.DataException" /> class with the specified string and inner exception.</summary>
|
|
/// <param name="s">The string to display when the exception is thrown.</param>
|
|
/// <param name="innerException">A reference to an inner exception.</param>
|
|
// Token: 0x06000142 RID: 322 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000142")]
|
|
[Address(RVA = "0x767A00", Offset = "0x766A00", VA = "0x180767A00")]
|
|
public DataException(string s, Exception innerException)
|
|
{
|
|
}
|
|
}
|
|
}
|