ch.rgw.tools
Class JdbcLinkExceptionTranslation
java.lang.Object
ch.rgw.tools.JdbcLinkExceptionTranslation
public class JdbcLinkExceptionTranslation
- extends java.lang.Object
Simple translator class for SQLExceptions. Currently translating to
JdbcLinkResourceException
for connection problems, or resource problems on the database
JdbcLinkSyntaxException
for problems with the syntax of the SQL statement
JdbcLinkConcurrencyException
for problems with concurrent access
Translation Sets based on the SQLStateSQLExceptionTranslator class of the spring framework.
- Author:
- thomas
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcLinkExceptionTranslation
public JdbcLinkExceptionTranslation()
translateException
public static JdbcLinkException translateException(java.lang.Exception ex)
translateException
public static JdbcLinkException translateException(java.lang.String message,
java.lang.Exception ex)
Copyright 2005-2011 by Gerry Weirich, Elexis