Bump versions.
[libidn.git] / csharp / StringprepException.cs
blobf8cdaa5a23b85d6aa4d8af155c27434534ee1671
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>
24 using System;
26 namespace gnu.inet.encoding
28 public class StringprepException:System.Exception
30 public static System.String CONTAINS_UNASSIGNED = "Contains unassigned code points.";
31 public static System.String CONTAINS_PROHIBITED = "Contains prohibited code points.";
32 public static System.String BIDI_BOTHRAL = "Contains both R and AL code points.";
33 public static System.String BIDI_LTRAL = "Leading and trailing code points not both R or AL.";
35 public StringprepException(System.String m) : base(m)