Mercurial > hg > Members > shoshi > TreeCMSv2
diff src/treecms/tree/util/PathNotFoundException.java @ 7:fc19e38b669b
added concurrent access client for cassandr
author | shoshi |
---|---|
date | Thu, 17 Mar 2011 23:24:08 +0900 |
parents | |
children | f96193babac0 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/treecms/tree/util/PathNotFoundException.java Thu Mar 17 23:24:08 2011 +0900 @@ -0,0 +1,22 @@ +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()); + } +}