KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jivesoftware > stringprep > StringprepException


1 /**
2  * Copyright (C) 2004 Free Software Foundation, Inc.
3  *
4  * Author: Oliver Hitz
5  *
6  * This file is part of GNU Libidn.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation; either version 2.1 of
11  * the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21  * USA
22  */

23
24 package org.jivesoftware.stringprep;
25
26 public class StringprepException
27   extends Exception JavaDoc
28 {
29   public static String JavaDoc CONTAINS_UNASSIGNED = "Contains unassigned code points.";
30   public static String JavaDoc CONTAINS_PROHIBITED = "Contains prohibited code points.";
31   public static String JavaDoc BIDI_BOTHRAL = "Contains both R and AL code points.";
32   public static String JavaDoc BIDI_LTRAL = "Leading and trailing code points not both R or AL.";
33
34   public StringprepException(String JavaDoc m)
35   {
36     super(m);
37   }
38 }
Popular Tags