001    /*
002     * UnsupportedCodecModeException
003     * 
004     * Copyright (c) 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 when a codec does not support the
014     * codec mode wanted by the user.
015     * Example: A user gives an OutputStream to a codec, indicating that an
016     * image is to be saved, but the codec only supports loading.
017     * @author Marco Schmidt
018     * @since 0.10.0
019     */
020    public class UnsupportedCodecModeException extends OperationFailedException
021    {
022            public UnsupportedCodecModeException(String message)
023            {
024                    super(message);
025            }
026    }