This commit is contained in:
parent
17d6cd28d6
commit
7e3e645fc9
48 changed files with 1530 additions and 1538 deletions
|
@ -1,17 +1,17 @@
|
|||
using System;
|
||||
using System.Globalization;
|
||||
|
||||
namespace Sledgemapper.Helpers
|
||||
namespace Sledgemapper.Api.Helpers
|
||||
{
|
||||
// Custom exception class for throwing application specific exceptions (e.g. for validation)
|
||||
// that can be caught and handled within the application
|
||||
public class AppException : Exception
|
||||
{
|
||||
public AppException() : base() {}
|
||||
public AppException() : base() { }
|
||||
|
||||
public AppException(string message) : base(message) { }
|
||||
|
||||
public AppException(string message, params object[] args)
|
||||
public AppException(string message, params object[] args)
|
||||
: base(string.Format(CultureInfo.CurrentCulture, message, args))
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue