If all these try-catch blocks are really necessary for invoke, it's probably a good idea to add a safeInvoke static method to MagicStuff to avoid all the redundancy.