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 class PunycodeException 27 extends Exception 28 { 29 public static String OVERFLOW = "Overflow."; 30 public static String BAD_INPUT = "Bad input."; 31 32 /** 33 * Creates a new PunycodeException. 34 * 35 * @param m message. 36 */ 37 public PunycodeException(String m) 38 { 39 super(m); 40 } 41 }