001 /* 002 * UnsupportedTypeException 003 * 004 * Copyright (c) 2000, 2001, 2002, 2003 Marco Schmidt. 005 * All rights reserved. 006 */ 007 008 package net.sourceforge.jiu.codecs; 009 010 import net.sourceforge.jiu.ops.OperationFailedException; 011 012 /** 013 * This exception is thrown during image loading. 014 * If a codec recognizes the file format but does not support the 015 * exact subtype it encounters (the compression type is unknown or 016 * the color depth unsupported), an instance of this exception class is 017 * created. 018 * <p> 019 * If the format is not recognized at all, a {@link WrongFileFormatException} 020 * should be thrown. 021 * <p> 022 * If there were errors during loading because of file corruption, an 023 * {@link InvalidFileStructureException} must be thrown. 024 * 025 * @see InvalidFileStructureException 026 * @see WrongFileFormatException 027 * 028 * @author Marco Schmidt 029 */ 030 public class UnsupportedTypeException extends OperationFailedException 031 { 032 public UnsupportedTypeException(String message) 033 { 034 super(message); 035 } 036 }