Throwable not allowed in MXBean