List of usage examples for org.springframework.dao DataIntegrityViolationException getCause
public synchronized Throwable getCause()
From source file:org.sipfoundry.sipxconfig.test.IntegrationTestCase.java
void dumpSqlExceptionMessages(DataIntegrityViolationException e) { if (e.getCause() instanceof SQLException) { dumpSqlExceptionMessages((SQLException) e.getCause()); }//from ww w .j av a2 s.co m }