Files
2026-06-04 11:42:34 +02:00

45 lines
2.1 KiB
C#

using System;
using System.Runtime.Serialization;
namespace System
{
/// <summary>The exception that is thrown when time zone information is invalid.</summary>
// Token: 0x02000055 RID: 85
[Serializable]
public class InvalidTimeZoneException : Exception
{
/// <summary>Initializes a new instance of the <see cref="T:System.InvalidTimeZoneException" /> class with a system-supplied message.</summary>
// Token: 0x06000499 RID: 1177 RVA: 0x00016F5C File Offset: 0x0001515C
public InvalidTimeZoneException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.InvalidTimeZoneException" /> class with the specified message string.</summary>
/// <param name="message">A string that describes the exception.</param>
// Token: 0x0600049A RID: 1178 RVA: 0x00016F64 File Offset: 0x00015164
public InvalidTimeZoneException(string message)
: base(message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.InvalidTimeZoneException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
/// <param name="message">A string that describes the exception. </param>
/// <param name="innerException">The exception that is the cause of the current exception. </param>
// Token: 0x0600049B RID: 1179 RVA: 0x00016F70 File Offset: 0x00015170
public InvalidTimeZoneException(string message, Exception e)
: base(message, e)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.InvalidTimeZoneException" /> class from serialized data.</summary>
/// <param name="info">The object that contains the serialized data. </param>
/// <param name="context">The stream that contains the serialized data.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null.-or-The <paramref name="context" /> parameter is null.</exception>
// Token: 0x0600049C RID: 1180 RVA: 0x00016F7C File Offset: 0x0001517C
protected InvalidTimeZoneException(SerializationInfo info, StreamingContext sc)
: base(info, sc)
{
}
}
}