(RelationalMapping)firstInstance.getPersistenceMapping()), e);
}
if (isDateRangeException(e))
{
throw new ValueRangeException("err.persistence.dateRange",
new Object[]{new Timestamp(getMinTime()), new Timestamp(getMaxTime())}, e);
}
if (e instanceof DataTruncation)
{
throw new ValueRangeException("err.persistence.valueRange", e);
}
if(isDeadlockException(e))
{
return new DeadlockException(e);