/// <summary> /// Constructor /// </summary> /// <param name="id">The ID of the document</param> /// <param name="innerException">The inner exception</param> public SearchForDocumentTypeFromIdFailedException(Guid id, Exception innerException) : base(KeywordFromGuid.GetKeyword(id), innerException) { }
/// <summary> /// Constructor that takes the id of the document and an exception as the reason. /// </summary> /// <param name="guid">The ID of the document</param> /// <param name="innerException">The inner exception</param> public NoDocumentTypeFoundFromIdException(Guid guid, Exception innerException) : base(KeywordFromGuid.GetKeyword(guid), innerException) { }
/// <summary> /// Constructor /// </summary> /// <param name="id">The ID of the document</param> public AmbiguousDocumentTypeResultFromIdException(string id) : base(KeywordFromGuid.GetKeyword(id)) { }
/// <summary> /// Constructor that takes the id of the document. /// </summary> /// <param name="id"></param> public NoDocumentTypeFoundFromIdException(string id) : base(KeywordFromGuid.GetKeyword(id)) { }