using System;
using System.Runtime.Serialization;
namespace System.Security.Authentication
{
/// The exception that is thrown when authentication fails for an authentication stream and cannot be retried.
// Token: 0x0200027D RID: 637
[Serializable]
public class InvalidCredentialException : AuthenticationException
{
/// Initializes a new instance of the class with no message.
// Token: 0x0600176D RID: 5997 RVA: 0x0004E148 File Offset: 0x0004C348
public InvalidCredentialException()
: base(global::Locale.GetText("Invalid credentials exception."))
{
}
/// Initializes a new instance of the class with the specified message.
/// A that describes the authentication failure.
// Token: 0x0600176E RID: 5998 RVA: 0x0004E15C File Offset: 0x0004C35C
public InvalidCredentialException(string message)
: base(message)
{
}
/// Initializes a new instance of the class with the specified message and inner exception.
/// A that describes the authentication failure.
/// The that is the cause of the current exception.
// Token: 0x0600176F RID: 5999 RVA: 0x0004E168 File Offset: 0x0004C368
public InvalidCredentialException(string message, Exception innerException)
: base(message, innerException)
{
}
/// Initializes a new instance of the class from the specified instances of the and classes.
/// A instance that contains the information required to deserialize the new instance.
/// A instance.
// Token: 0x06001770 RID: 6000 RVA: 0x0004E174 File Offset: 0x0004C374
protected InvalidCredentialException(SerializationInfo serializationInfo, StreamingContext streamingContext)
: base(serializationInfo, streamingContext)
{
}
}
}