assertEquals("Contact", e.getClassName());
assertEquals("123", e.getOIDHolder().getOID().getValue(0));
assertEquals(1, e.getOrdinal());
assertEquals(1, e.getExceptionCount());
assertEquals("err.persistence.queryTimeout", ((GenericException)e.getExceptionIterator().next()).getErrorCode());
assertEquals("err.validation.requiredAttribute", ((GenericException)e.findException("firstName")).getErrorCode());
}
public void checkEquals(Number expected, Number actual)
{
assertEquals(expected, actual);