Throwable[] errors = msgHandler.getExceptions();
if (msgs.length > 0 || errors.length > 0 || warnings.length > 0)
{
for (int i = 0; i < msgs.length; ++i)
{
app.showErrorDialog(msgs[i]);
}
for (int i = 0; i < warnings.length; ++i)
{
app.showErrorDialog(warnings[i]);
}