Clean up and removal of some old exceptions.

This commit is contained in:
sk89q
2014-07-29 07:57:45 -07:00
parent 41584eee4a
commit 8834af7538
44 changed files with 1047 additions and 948 deletions

View File

@@ -20,19 +20,28 @@
package com.sk89q.worldedit;
/**
*
* @author sk89q
* Thrown when an unknown direction is specified or detected.
*/
public class UnknownDirectionException extends WorldEditException {
private static final long serialVersionUID = 5705931351293248358L;
private String dir;
/**
* Create a new instance.
*
* @param dir the input that was tried
*/
public UnknownDirectionException(String dir) {
this.dir = dir;
}
/**
* Get the direction string that was input.
*
* @return input
*/
public String getDirection() {
return dir;
}
}