mirror of
https://github.com/MichaelGrafnetter/DSInternals
synced 2024-12-13 09:57:29 +00:00
24 lines
592 B
C#
24 lines
592 B
C#
namespace DSInternals.Common.Exceptions
|
|
{
|
|
using DSInternals.Common.Properties;
|
|
using System;
|
|
using System.Security.Principal;
|
|
|
|
[Serializable]
|
|
public sealed class DirectoryObjectNotFoundException : DirectoryObjectException
|
|
{
|
|
public DirectoryObjectNotFoundException(object objectIdentifier)
|
|
: base(objectIdentifier)
|
|
{
|
|
}
|
|
|
|
public override string Message
|
|
{
|
|
get
|
|
{
|
|
return String.Format(Resources.ObjectNotFoundMessageFormat,this.ObjectIdentifier);
|
|
}
|
|
}
|
|
}
|
|
}
|