Skip to content

Experimental and useless exceptions handler for Bukkit plugins and normal Java applications

Notifications You must be signed in to change notification settings

LoneDev6/JavaEazyExceptionsHandler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EazyExceptionsHandler

Experimental and useless exceptions handler for Bukkit plugins and normal Java applications

public final class Main extends JavaPlugin implements EazyExceptionsListener
{
    @Override
    public void onEnable()
    {
        BukkitEzExceptionsHandler.getInstance(this).registerExceptionListener(this);
        test();
    }

    @ExceptionGoesBrr(exception = ArrayIndexOutOfBoundsException.class, 
                      message = "Very cool, ur a skid and I smell an exception", 
                      printStackTrace = false)
    private void test()
    {
        int[] test = new int[0];
        test[69] = 1337;
    }
}

About

Experimental and useless exceptions handler for Bukkit plugins and normal Java applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages