using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System.Security.Principal
{
/// Represents an exception for a principal whose identity could not be mapped to a known identity.
// Token: 0x020005AD RID: 1453
[ComVisible(false)]
[Serializable]
public sealed class IdentityNotMappedException : SystemException
{
/// Initializes a new instance of the class.
// Token: 0x06003522 RID: 13602 RVA: 0x000B6EF4 File Offset: 0x000B50F4
public IdentityNotMappedException()
: base(Locale.GetText("Couldn't translate some identities."))
{
}
/// Initializes a new instance of the class by using the specified error message.
/// The error message that explains the reason for the exception.
// Token: 0x06003523 RID: 13603 RVA: 0x000B6F08 File Offset: 0x000B5108
public IdentityNotMappedException(string message)
: base(message)
{
}
/// Initializes a new instance of the class by using the specified error message and inner exception.
/// The error message that explains the reason for the exception.
/// The exception that is the cause of the current exception. If is not null, the current exception is raised in a catch block that handles the inner exception.
// Token: 0x06003524 RID: 13604 RVA: 0x000B6F14 File Offset: 0x000B5114
public IdentityNotMappedException(string message, Exception inner)
: base(message, inner)
{
}
/// Represents the collection of unmapped identities for an exception.
/// The collection of unmapped identities.
// Token: 0x17000A6E RID: 2670
// (get) Token: 0x06003525 RID: 13605 RVA: 0x000B6F20 File Offset: 0x000B5120
public IdentityReferenceCollection UnmappedIdentities
{
get
{
if (this._coll == null)
{
this._coll = new IdentityReferenceCollection();
}
return this._coll;
}
}
/// Gets serialization information with the data needed to create an instance of this object.
/// The that holds the serialized object data about the exception being thrown.
/// The object that contains contextual information about the source or destination.
// Token: 0x06003526 RID: 13606 RVA: 0x000B6F40 File Offset: 0x000B5140
[MonoTODO("not implemented")]
public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
// Token: 0x04001592 RID: 5522
private IdentityReferenceCollection _coll;
}
}