Package org.apache.calcite.avatica
Class Helper
- java.lang.Object
-
- org.apache.calcite.avatica.Helper
-
public class Helper extends java.lang.ObjectUtility methods, mainly concerning error-handling.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.SQLClientInfoExceptionclientInfo()java.sql.SQLExceptionclosed()java.sql.SQLExceptioncreateException(java.lang.String message)java.sql.SQLExceptioncreateException(java.lang.String message, java.lang.Exception e)java.sql.SQLExceptioncreateException(java.lang.String message, java.lang.String sql, java.lang.Exception e)java.lang.RuntimeExceptiontodo()java.sql.SQLExceptiontoSQLException(java.sql.SQLException exception)java.sql.SQLExceptionunsupported()java.lang.RuntimeExceptionwrap(java.lang.String message, java.lang.Exception e)
-
-
-
Field Detail
-
INSTANCE
public static final Helper INSTANCE
-
-
Method Detail
-
todo
public java.lang.RuntimeException todo()
-
wrap
public java.lang.RuntimeException wrap(java.lang.String message, java.lang.Exception e)
-
createException
public java.sql.SQLException createException(java.lang.String message, java.lang.Exception e)
-
createException
public java.sql.SQLException createException(java.lang.String message, java.lang.String sql, java.lang.Exception e)
-
createException
public java.sql.SQLException createException(java.lang.String message)
-
toSQLException
public java.sql.SQLException toSQLException(java.sql.SQLException exception)
-
closed
public java.sql.SQLException closed()
-
unsupported
public java.sql.SQLException unsupported()
-
clientInfo
public java.sql.SQLClientInfoException clientInfo()
-
-