001/* ----------------------------------------------------------------------------
002   The Kiwi Toolkit - A Java Class Library
003   Copyright (C) 1998-2004 Mark A. Lindner
004
005   This library is free software; you can redistribute it and/or
006   modify it under the terms of the GNU General Public License as
007   published by the Free Software Foundation; either version 2 of the
008   License, or (at your option) any later version.
009
010   This library is distributed in the hope that it will be useful,
011   but WITHOUT ANY WARRANTY; without even the implied warranty of
012   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
013   General Public License for more details.
014
015   You should have received a copy of the GNU General Public License
016   along with this library; if not, write to the Free Software
017   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
018   02111-1307, USA.
019 
020   The author may be contacted at: mark_a_lindner@yahoo.com
021  ----------------------------------------------------------------------------
022   $Log: ImmutableModelException.java,v $
023   Revision 1.1  2004/05/13 21:35:18  markl
024   new class
025
026   ----------------------------------------------------------------------------
027*/
028
029package kiwi.ui.model;
030
031/** An exception that is thrown when an attempt is made to modify an
032 * immutable data model.
033 *
034 * @author Mark Lindner
035 * @since Kiwi 2.0
036 */
037
038public class ImmutableModelException extends RuntimeException
039  {
040  
041  /** Construct a new <code>ImmutableModelException</code>.
042   */
043  
044  ImmutableModelException()
045    {
046    super();
047    }
048
049  /** Construct a new <code>ImmutableModelException</code> with the given
050   * message.
051   *
052   * @param message The message.
053   */
054  
055  ImmutableModelException(String message)
056    {
057    super(message);
058    }
059  
060  }
061
062/* end of source file */