Bump versions.
[libidn.git] / csharp / PunycodeException.cs
blob3bad6642c715bbefe35cb1abc3c1b3517bddfdac
1 /// <summary>
2 /// Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
3 /// *
4 /// Author: Alexander Gnauck AG-Software
5 /// *
6 /// This file is part of GNU Libidn.
7 /// *
8 /// This program is free software; you can redistribute it and/or
9 /// modify it under the terms of the GNU General Public License as
10 /// published by the Free Software Foundation; either version 2 of the
11 /// License, or (at your option) any later version.
12 /// *
13 /// This program is distributed in the hope that it will be useful,
14 /// but WITHOUT ANY WARRANTY; without even the implied warranty of
15 /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 /// General Public License for more details.
17 /// *
18 /// You should have received a copy of the GNU General Public License
19 /// along with this program; if not, write to the Free Software
20 /// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21 /// 02111-1307 USA.
22 /// </summary>
23 namespace gnu.inet.encoding
25 using System;
27 public class PunycodeException:System.Exception
29 public static System.String OVERFLOW = "Overflow.";
30 public static System.String BAD_INPUT = "Bad input.";
32 /// <summary> Creates a new PunycodeException.
33 /// *
34 /// </summary>
35 /// <param name="m">message.
36 ///
37 /// </param>
38 public PunycodeException(System.String m):base(m)