47 lines
2.5 KiB
C#
47 lines
2.5 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace System.Resources
|
|
{
|
|
/// <summary>The exception thrown if the main assembly does not contain the resources for the neutral culture, and they are required because of a missing appropriate satellite assembly.</summary>
|
|
// Token: 0x02000274 RID: 628
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class MissingManifestResourceException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingManifestResourceException" /> class with default properties.</summary>
|
|
// Token: 0x0600202A RID: 8234 RVA: 0x00074D5C File Offset: 0x00072F5C
|
|
public MissingManifestResourceException()
|
|
: base(Locale.GetText("The assembly does not contain the resources for the required culture."))
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingManifestResourceException" /> class with the specified error message.</summary>
|
|
/// <param name="message">The error message that explains the reason for the exception. </param>
|
|
// Token: 0x0600202B RID: 8235 RVA: 0x00074D70 File Offset: 0x00072F70
|
|
public MissingManifestResourceException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingManifestResourceException" /> class from serialized data.</summary>
|
|
/// <param name="info">The object that holds the serialized object data. </param>
|
|
/// <param name="context">The contextual information about the source or destination of the exception. </param>
|
|
// Token: 0x0600202C RID: 8236 RVA: 0x00074D7C File Offset: 0x00072F7C
|
|
protected MissingManifestResourceException(SerializationInfo info, StreamingContext context)
|
|
: base(info, context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingManifestResourceException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
|
|
/// <param name="message">The error message that explains the reason for the exception. </param>
|
|
/// <param name="inner">The exception that is the cause of the current exception. If the <paramref name="inner" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
|
|
// Token: 0x0600202D RID: 8237 RVA: 0x00074D88 File Offset: 0x00072F88
|
|
public MissingManifestResourceException(string message, Exception inner)
|
|
: base(message, inner)
|
|
{
|
|
}
|
|
}
|
|
}
|