Skip to content

Commit

Permalink
Fix typo in plugin annotation processor
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-gh committed Nov 27, 2016
1 parent 56eecfd commit 87ef7be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@
/**
* Thrown if an exception occurs in the plugin annotation processor.
*/
final class PluginProcessExeption extends RuntimeException {
final class PluginProcessException extends RuntimeException {

private static final long serialVersionUID = -8573308144869929605L;

public PluginProcessExeption() {
public PluginProcessException() {
}

public PluginProcessExeption(String message) {
public PluginProcessException(String message) {
super(message);
}

public PluginProcessExeption(String message, Throwable cause) {
public PluginProcessException(String message, Throwable cause) {
super(message, cause);
}

public PluginProcessExeption(Throwable cause) {
public PluginProcessException(Throwable cause) {
super(cause);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void init(ProcessingEnvironment processingEnv) {
}
}
} catch (IOException e) {
throw new PluginProcessExeption("Failed to read extra plugin metadata from " + path, e);
throw new PluginProcessException("Failed to read extra plugin metadata from " + path, e);
}
}
}
Expand Down Expand Up @@ -178,7 +178,7 @@ private void finish() {
try (BufferedWriter writer = createWriter()) {
McModInfo.DEFAULT.write(writer, meta);
} catch (IOException e) {
throw new PluginProcessExeption("Failed to write plugin metadata", e);
throw new PluginProcessException("Failed to write plugin metadata", e);
}
}

Expand Down

0 comments on commit 87ef7be

Please sign in to comment.