From 6364ba720be228c8de22620ab1a861dab3af82eb Mon Sep 17 00:00:00 2001 From: sk89q Date: Sat, 2 Oct 2010 13:46:33 -0700 Subject: [PATCH] Moved exceptions to package com.sk89q.worldedit to prevent potential collision. --- src/WorldEdit.java | 1 + src/WorldEditSession.java | 2 ++ src/{ => com/sk89q/worldedit}/DisallowedItemException.java | 2 ++ src/{ => com/sk89q/worldedit}/IncompleteRegionException.java | 2 ++ .../sk89q/worldedit}/InsufficientArgumentsException.java | 2 ++ src/{ => com/sk89q/worldedit}/UnknownItemException.java | 2 ++ 6 files changed, 11 insertions(+) rename src/{ => com/sk89q/worldedit}/DisallowedItemException.java (96%) rename src/{ => com/sk89q/worldedit}/IncompleteRegionException.java (96%) rename src/{ => com/sk89q/worldedit}/InsufficientArgumentsException.java (96%) rename src/{ => com/sk89q/worldedit}/UnknownItemException.java (96%) diff --git a/src/WorldEdit.java b/src/WorldEdit.java index daea31912..e4ddc5ced 100644 --- a/src/WorldEdit.java +++ b/src/WorldEdit.java @@ -23,6 +23,7 @@ import java.util.logging.Logger; import java.util.Map; import java.io.*; import org.mozilla.javascript.*; +import com.sk89q.worldedit.*; /** * diff --git a/src/WorldEditSession.java b/src/WorldEditSession.java index c04570992..e6d739e73 100644 --- a/src/WorldEditSession.java +++ b/src/WorldEditSession.java @@ -17,6 +17,8 @@ * along with this program. If not, see . */ +import com.sk89q.worldedit.*; + /** * * @author sk89q diff --git a/src/DisallowedItemException.java b/src/com/sk89q/worldedit/DisallowedItemException.java similarity index 96% rename from src/DisallowedItemException.java rename to src/com/sk89q/worldedit/DisallowedItemException.java index 9cf417fcf..ddad75506 100644 --- a/src/DisallowedItemException.java +++ b/src/com/sk89q/worldedit/DisallowedItemException.java @@ -1,3 +1,5 @@ +package com.sk89q.worldedit; + // $Id$ /* * WorldEdit diff --git a/src/IncompleteRegionException.java b/src/com/sk89q/worldedit/IncompleteRegionException.java similarity index 96% rename from src/IncompleteRegionException.java rename to src/com/sk89q/worldedit/IncompleteRegionException.java index 5e4aca8e1..61302a750 100644 --- a/src/IncompleteRegionException.java +++ b/src/com/sk89q/worldedit/IncompleteRegionException.java @@ -1,3 +1,5 @@ +package com.sk89q.worldedit; + // $Id$ /* * WorldEdit diff --git a/src/InsufficientArgumentsException.java b/src/com/sk89q/worldedit/InsufficientArgumentsException.java similarity index 96% rename from src/InsufficientArgumentsException.java rename to src/com/sk89q/worldedit/InsufficientArgumentsException.java index 5ac3f330a..e4da53a91 100644 --- a/src/InsufficientArgumentsException.java +++ b/src/com/sk89q/worldedit/InsufficientArgumentsException.java @@ -1,3 +1,5 @@ +package com.sk89q.worldedit; + // $Id$ /* * WorldEdit diff --git a/src/UnknownItemException.java b/src/com/sk89q/worldedit/UnknownItemException.java similarity index 96% rename from src/UnknownItemException.java rename to src/com/sk89q/worldedit/UnknownItemException.java index 542aa8d78..5a493f0c6 100644 --- a/src/UnknownItemException.java +++ b/src/com/sk89q/worldedit/UnknownItemException.java @@ -1,3 +1,5 @@ +package com.sk89q.worldedit; + // $Id$ /* * WorldEdit