package com.ingotpowered.api.plugins;

import java.io.File;

public abstract class Plugin {

    private String name;
    private String author;
    private String description;
    private String jarFilePath;
    private File pluginDirectory;

    public abstract void onEnable();

    public abstract void onDisable();

    public final String getName() {
        return name;
    }

    public String getAuthor() {
        return author;
    }

    public final String getDescription() {
        return description;
    }

    public final String getJarFilePath() {
        return jarFilePath;
    }

    public File getPluginDirectory() {
        return pluginDirectory;
    }
}

@@ -672,11 +672,65 @@
 y;%0A    %7D
+%0A%0A    public void handleException(Exception ex)%7B%0A    %7D
 %0A%7D%0A

Allow for error reporting back to the plugin on a plugin to plugin basis, for use for remote error reporting.