view src/treecms/tree/util/PathNotFoundException.java @ 8:f96193babac0

changed byte[] to ByteBuffer added TreeEditor.updateTree(Node,NodeData,Node[]) for node path is known. added GUIEditor
author shoshi
date Thu, 31 Mar 2011 02:08:44 +0900
parents fc19e38b669b
children
line wrap: on
line source

package treecms.tree.util;

import treecms.api.Node;

/**
 * あるNodeからNodeまでのパスが検索したが見つからない場合に発生します. 
 * @author shoshi
 */
public class PathNotFoundException extends Exception
{
	private static final long serialVersionUID = 6372927818478170944L;

	/**
	 * コンストラクタです.
	 * @param _from 木構造のルートNode
	 * @param _to 検索する対象のNode
	 */
	public PathNotFoundException(Node _from,Node _to)
	{
		super("Path Not Found from "+_from.getID()+" to "+_to.getID());
	}
	
	/**
	 * コンストラクタです。
	 * @param _message メッセージ
	 */
	public PathNotFoundException(String _message)
	{
		super(_message);
	}
}