Package net.sourceforge.squirrel_sql.plugins.db2

Examples of net.sourceforge.squirrel_sql.plugins.db2.DB2JCCExceptionFormatter.format()


      catch (final Exception e)
      {
        if (DialectFactory.isDB2(session.getMetaData()))
        {
          final DB2JCCExceptionFormatter formatter = new DB2JCCExceptionFormatter();
          System.err.println("Formatted message: " + formatter.format(e));
        }
        if (DialectFactory.isInformix(session.getMetaData()))
        {
          final InformixExceptionFormatter formatter = new InformixExceptionFormatter(session);
          System.err.println("Formatted message: " + formatter.format(e));
View Full Code Here


          System.err.println("Formatted message: " + formatter.format(e));
        }
        if (DialectFactory.isInformix(session.getMetaData()))
        {
          final InformixExceptionFormatter formatter = new InformixExceptionFormatter(session);
          System.err.println("Formatted message: " + formatter.format(e));
        }
        throw e;
      }
      finally
      {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.