/* 1281 */ if ((t instanceof InvocationTargetException))
/* */ {
/* 1283 */ Throwable root = ((InvocationTargetException)t).getTargetException();
/* */
/* 1285 */ if ((root instanceof RuntimeException))
/* 1286 */ throw new RuntimeMBeanException((RuntimeException)root, className + " constructor has thrown an exception: " + root.toString());
/* 1287 */ if ((root instanceof Error))
/* 1288 */ throw new RuntimeErrorException((Error)root, className + " constructor has thrown an error: " + root.toString());
/* 1289 */ if ((root instanceof Exception)) {
/* 1290 */ throw new MBeanException((Exception)root, className + " constructor has thrown an exception: " + root.toString());
/* */ }
/* 1292 */ throw new Error("Something went wrong with handling the exception from " + className + " default constructor.");
/* */ }
/* */
/* 1295 */ if ((t instanceof ExceptionInInitializerError))
/* */ {
/* 1297 */ Throwable root = ((ExceptionInInitializerError)t).getException();
/* */
/* 1300 */ if ((root instanceof RuntimeException)) {
/* 1301 */ throw new RuntimeMBeanException((RuntimeException)root, "Exception in class " + className + " static initializer: " + root.toString());
/* */ }
/* */
/* 1304 */ throw new Error("ERROR: it turns out the root cause is not always a runtime exception!");
/* */ }
/* */