Fix message.
[libidn.git] / csharp / StringprepException.cs
blob5ee9d0aae9669f6374fed7b4c998592a54ec916d
1 /// <summary> Copyright (C) 2004 Free Software Foundation, Inc.
2 /// *
3 /// Author: Alexander Gnauck AG-Software
4 /// *
5 /// This file is part of GNU Libidn.
6 /// *
7 /// This library is free software; you can redistribute it and/or
8 /// modify it under the terms of the GNU Lesser General Public License
9 /// as published by the Free Software Foundation; either version 2.1 of
10 /// the License, or (at your option) any later version.
11 /// *
12 /// This library is distributed in the hope that it will be useful, but
13 /// WITHOUT ANY WARRANTY; without even the implied warranty of
14 /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 /// Lesser General Public License for more details.
16 /// *
17 /// You should have received a copy of the GNU Lesser General Public
18 /// License along with this library; if not, write to the Free Software
19 /// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
20 /// USA
21 /// </summary>
23 using System;
25 namespace gnu.inet.encoding
27 public class StringprepException:System.Exception
29 public static System.String CONTAINS_UNASSIGNED = "Contains unassigned code points.";
30 public static System.String CONTAINS_PROHIBITED = "Contains prohibited code points.";
31 public static System.String BIDI_BOTHRAL = "Contains both R and AL code points.";
32 public static System.String BIDI_LTRAL = "Leading and trailing code points not both R or AL.";
34 public StringprepException(System.String m) : base(m)