com.objectwave.persist
Interface SQLConvertExceptionIF


public interface SQLConvertExceptionIF

Instances of this class will convert generic SQL exceptions to specific exceptions.


Method Summary
 QueryException convert(QueryException ex)
          Convert the generic QueryException into a specific query exception
 QueryException convert(java.sql.SQLException ex, java.lang.String additionalInfo)
          Convert the SQLException into a specific query exception
 

Method Detail

convert

public QueryException convert(java.sql.SQLException ex,
                              java.lang.String additionalInfo)
Convert the SQLException into a specific query exception


convert

public QueryException convert(QueryException ex)
Convert the generic QueryException into a specific query exception