From 228ff0ae4d96bf3395cf807eff7b70f66496bbd1 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sun, 7 Jun 2015 20:19:29 +0200 Subject: [PATCH] implements a Formatter exception --- web/Formatters/FormatterException.cs | 54 ++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 web/Formatters/FormatterException.cs diff --git a/web/Formatters/FormatterException.cs b/web/Formatters/FormatterException.cs new file mode 100644 index 00000000..5f827d00 --- /dev/null +++ b/web/Formatters/FormatterException.cs @@ -0,0 +1,54 @@ +// +// TexToPdfFormatter.cs +// +// Author: +// Paul Schneider +// +// Copyright (c) 2015 Paul Schneider +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with this program. If not, see . +using System; +using System.Net.Http.Formatting; +using System.Net.Http.Headers; +using System.Collections.Generic; +using System.IO; +using System.Web; +using System.Diagnostics; +using System.Net.Http; +using Yavsc.Helpers; + +namespace Yavsc.Formatters +{ + /// + /// Formatter exception. + /// + public class FormatterException : Exception + { + /// + /// Initializes a new instance of the class. + /// + /// Message. + public FormatterException(string message):base(message) + { + } + /// + /// Initializes a new instance of the class. + /// + /// Message. + /// Inner exception. + public FormatterException(string message,Exception innerException):base(message,innerException) + { + } + } +}