tikhomirov@427: /* tikhomirov@427: * Copyright (c) 2012 TMate Software Ltd tikhomirov@427: * tikhomirov@427: * This program is free software; you can redistribute it and/or modify tikhomirov@427: * it under the terms of the GNU General Public License as published by tikhomirov@427: * the Free Software Foundation; version 2 of the License. tikhomirov@427: * tikhomirov@427: * This program is distributed in the hope that it will be useful, tikhomirov@427: * but WITHOUT ANY WARRANTY; without even the implied warranty of tikhomirov@427: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the tikhomirov@427: * GNU General Public License for more details. tikhomirov@427: * tikhomirov@427: * For information on how to redistribute this software under tikhomirov@427: * the terms of a license other than GNU General Public License tikhomirov@427: * contact TMate Software at support@hg4j.com tikhomirov@427: */ tikhomirov@427: package org.tmatesoft.hg.repo; tikhomirov@427: tikhomirov@427: /** tikhomirov@427: * Indicates broken, unknown or otherwise bad data structure. tikhomirov@427: * tikhomirov@427: * @author Artem Tikhomirov tikhomirov@427: * @author TMate Software Ltd. tikhomirov@427: */ tikhomirov@427: @SuppressWarnings("serial") tikhomirov@427: public class HgInvalidDataFormatException extends HgRuntimeException { tikhomirov@427: // IMPLEMENTATION NOTE. Perhaps, this might be intermediate class between HgRuntimeException and HgInvalidFileException tikhomirov@427: tikhomirov@427: public HgInvalidDataFormatException(String message) { tikhomirov@427: super(message, null); tikhomirov@427: } tikhomirov@427: tikhomirov@427: public HgInvalidDataFormatException(String message, Throwable cause) { tikhomirov@427: super(message, cause); tikhomirov@427: } tikhomirov@427: }