00001 #region License 00002 /* Copyright (C) Cristian Libardo 00003 * 00004 * This is free software; you can redistribute it and/or modify it 00005 * under the terms of the GNU Lesser General Public License as 00006 * published by the Free Software Foundation; either version 2.1 of 00007 * the License, or (at your option) any later version. 00008 * 00009 * This software is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this software; if not, write to the Free 00016 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00017 * 02110-1301 USA, or see the FSF site:. 00018 */ 00019 #endregion 00020 00021 using System; 00022 using System.Collections.Generic; 00023 using System.Text; 00024 00025 namespace N2 00026 { 00028 public class N2Exception : ApplicationException 00029 { 00032 public N2Exception(string message) : base(message) 00033 { 00034 } 00035 00039 public N2Exception(string messageFormat, params object[] args) 00040 : base(string.Format(messageFormat, args)) 00041 { 00042 } 00043 00047 public N2Exception(string message, Exception innerException) 00048 : base(message, innerException) 00049 { 00050 } 00051 } 00052 }