-
Notifications
You must be signed in to change notification settings - Fork 0
/
JobPostingException.cs
executable file
·45 lines (42 loc) · 2.09 KB
/
JobPostingException.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System;
using System.Collections.Generic;
using Model.DTO;
using Model.Resources;
namespace Model.Exceptions
{
public class JobPostingException : BusinessException
{
/// <summary>
/// Job Posting Exception
/// </summary>
/// <param name="resourceKey">ErrorMessageKeys ResourceKey</param>
/// <param name="errorLogMessage">Detailed technical error message</param>
/// <param name="additionalContent">List of strings containing additional error messages</param>
/// <param name="innerException">Inner Exception</param>
///
public JobPostingException(ErrorMessageKeys resourceKey, string errorLogMessage, List<string> additionalContent = null, Exception innerException = null)
: base(resourceKey, errorLogMessage, additionalContent, innerException)
{ }
/// <summary>
/// Job Posting exception
/// </summary>
/// <param name="resourceKey">ErrorMessageKeys ResourceKey</param>
/// <param name="errorItems">List of ErrorItem objects derived from the ModelStateDictionary object</param>
/// <param name="innerException">Inner Exception</param>
///
public JobPostingException(ErrorMessageKeys resourceKey, IEnumerable<ErrorItem> errorItems, Exception innerException = null)
: base(resourceKey, errorItems, innerException)
{ }
/// <summary>
/// Job Posting exception
/// </summary>
/// <param name="resourceKey">ErrorMessageKeys ResourceKey</param>
/// <param name="errorItems">List of ErrorItem objects derived from the ModelStateDictionary object</param>
/// <param name="additionalContent">List of strings containing additional error messages</param>
/// <param name="innerException">Inner Exception</param>
///
public JobPostingException(ErrorMessageKeys resourceKey, IEnumerable<ErrorItem> errorItems, IEnumerable<string> additionalContent, Exception innerException = null)
: base(resourceKey, errorItems, additionalContent, innerException)
{ }
}
}