Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.rgw.tools
Class JdbcLinkExceptionTranslation

java.lang.Object
  extended by 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

    Constructor Summary
    JdbcLinkExceptionTranslation()
               
     
    Method Summary
    static JdbcLinkException translateException(java.lang.Exception ex)
               
    static JdbcLinkException translateException(java.lang.String message, java.lang.Exception ex)
               
     
    Methods inherited from class java.lang.Object
    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    JdbcLinkExceptionTranslation

    public JdbcLinkExceptionTranslation()
    Method Detail

    translateException

    public static JdbcLinkException translateException(java.lang.Exception ex)

    translateException

    public static JdbcLinkException translateException(java.lang.String message,
                                                       java.lang.Exception ex)

    Elexis API documentation
    Version 2.1.6 as of December 11 2011

    Copyright 2005-2011 by Gerry Weirich, Elexis