if (original instanceof Exception)
throw (Exception) original;
else if (original instanceof Error)
throw (Error) original;
else
throw new UnexpectedThrowable("UnexpectedThrowable", original);
}
else
{
staticLog.debug("Got expected " + expected.getName() + "(" + throwable + ")");
}