// check for violation exceptions
if (!verify.getViolations().isEmpty()) {
final StringBuffer buf = new StringBuffer();
for (int i = 0; i < 5 && i < verify.getViolations().size(); i++) {
NuSMVViolation violation = verify.getViolations().get(i);
if (i != 0)
buf.append("\n");
buf.append(violation.getMessage());
}
if (verify.getViolations().size() > 5) {
// there are more