OSDN Git Service

made a copy
[deployer/repo.git] / deployer / tags / 1.0.1 / src / main / java / jp / sourceforge / deployer / DirectoryDeleteFailException.java
diff --git a/deployer/tags/1.0.1/src/main/java/jp/sourceforge/deployer/DirectoryDeleteFailException.java b/deployer/tags/1.0.1/src/main/java/jp/sourceforge/deployer/DirectoryDeleteFailException.java
new file mode 100644 (file)
index 0000000..3e05337
--- /dev/null
@@ -0,0 +1,59 @@
+/*\r
+ * Copyright (C) 2007 uguu at users.sourceforge.jp, All Rights Reserved.\r
+ *\r
+ * Redistribution and use in source and binary forms, with or without\r
+ * modification, are permitted provided that the following conditions\r
+ * are met:\r
+ *\r
+ *    1. Redistributions of source code must retain the above copyright\r
+ *       notice, this list of conditions and the following disclaimer.\r
+ *\r
+ *    2. Redistributions in binary form must reproduce the above copyright\r
+ *       notice, this list of conditions and the following disclaimer in the\r
+ *       documentation and/or other materials provided with the distribution.\r
+ *\r
+ *    3. Neither the name of Clarkware Consulting, Inc. nor the names of its\r
+ *       contributors may be used to endorse or promote products derived\r
+ *       from this software without prior written permission. For written\r
+ *       permission, please contact clarkware@clarkware.com.\r
+ *\r
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,\r
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\r
+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL\r
+ * CLARKWARE CONSULTING OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\r
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\r
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\r
+ * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\r
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\r
+ * NEGLIGENCE OR OTHERWISE) ARISING IN  ANY WAY OUT OF THE USE OF THIS SOFTWARE,\r
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+ */\r
+\r
+package jp.sourceforge.deployer;\r
+\r
+import java.io.File;\r
+import java.io.IOException;\r
+\r
+/**\r
+ * <p>\r
+ * ディレクトリの削除に失敗したことを表す例外です。\r
+ * </p>\r
+ * \r
+ * @author $Author$\r
+ * @version $Rev$ $Date$\r
+ */\r
+public class DirectoryDeleteFailException extends IOException {\r
+\r
+    /**\r
+     * <p>\r
+     * インスタンスを初期化します。\r
+     * </p>\r
+     * \r
+     * @param dir\r
+     *            削除に失敗したディレクトリ。\r
+     */\r
+    public DirectoryDeleteFailException(File dir) {\r
+        super(Message.directoryDeleteFail(dir.getAbsolutePath()));\r
+    }\r
+\r
+}\r