2 /// Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
4 /// Author: Alexander Gnauck AG-Software
6 /// This file is part of GNU Libidn.
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.
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.
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
23 namespace gnu
.inet
.encoding
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.
35 /// <param name="m">message.
38 public PunycodeException(System
.String m
):base(m
)