ExceptionThrowEvent????

Discussion in 'Spigot Plugin Development' started by Snowmite, Apr 24, 2017.

  1. Is there anyway that I could make an event when an exception is thrown into the console?
     
  2. How about you just not have an exception thrown in the first place?
     
    • Winner Winner x 1
  3. I'm pretty sure @Sharkbait means in other plugins as well, which in that case you can't really control.
     
  4. a) why are you trying to handle exceptions in other plugins? they're improperly throwing exceptions if you need to do this
    b) if a plugin that's not yours is randomly throwing exceptions, why are you using it?
     
  5. I am not sure, that's what I thought @Skarkbait was implying, maybe for finding buggy plugins, or if you are doing some class injecting/override hack, you might want to do something if it throws an error.