1 /** 2 * Copyright (C) Azureus Software, Inc, All Rights Reserved. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * You should have received a copy of the GNU General Public License 13 * along with this program; if not, write to the Free Software 14 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 15 * 16 */ 17 package org.gudy.azureus2.core3.util; 18 19 import java.io.IOException; 20 21 /** 22 * @author Aaron Grunthal 23 * @create 09.08.2007 24 * 25 * This is thrown when the BEncoder/BDecoder stumbles upon any internal error, such as malformed input 26 * @IOException will be used if the encountered problem is of external nature (mostly IOExceptiosn themselves) 27 */ 28 public class BEncodingException extends IOException { 29 BEncodingException()30 public BEncodingException(){} BEncodingException(String message)31 public BEncodingException(String message) { super(message); } 32 } 33 34