tikhomirov@423: /* tikhomirov@423: * Copyright (c) 2012 TMate Software Ltd tikhomirov@423: * tikhomirov@423: * This program is free software; you can redistribute it and/or modify tikhomirov@423: * it under the terms of the GNU General Public License as published by tikhomirov@423: * the Free Software Foundation; version 2 of the License. tikhomirov@423: * tikhomirov@423: * This program is distributed in the hope that it will be useful, tikhomirov@423: * but WITHOUT ANY WARRANTY; without even the implied warranty of tikhomirov@423: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the tikhomirov@423: * GNU General Public License for more details. tikhomirov@423: * tikhomirov@423: * For information on how to redistribute this software under tikhomirov@423: * the terms of a license other than GNU General Public License tikhomirov@423: * contact TMate Software at support@hg4j.com tikhomirov@423: */ tikhomirov@423: package org.tmatesoft.hg.repo; tikhomirov@423: tikhomirov@423: tikhomirov@423: /** tikhomirov@423: * Thrown to indicate unexpected or otherwise inappropriate state of the library, assumptions/preconditions not met, etc. tikhomirov@423: * Unlike {@link HgInvalidFileException} and {@link HgInvalidControlFileException}, to describe error state not related to IO operations. tikhomirov@423: * tikhomirov@423: * @author Artem Tikhomirov tikhomirov@423: * @author TMate Software Ltd. tikhomirov@423: */ tikhomirov@423: @SuppressWarnings("serial") tikhomirov@423: public class HgInvalidStateException extends HgRuntimeException { tikhomirov@423: tikhomirov@423: public HgInvalidStateException(String message) { tikhomirov@423: super(message, null); tikhomirov@423: // no cons with Throwable as it deemed exceptional to use HgInvalidStateException to wrap another exception tikhomirov@423: } tikhomirov@423: }