OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ai.heavy.jdbc.HeavyAIExceptionText Class Reference

Static Package Functions

static String getExceptionDetail (Exception ex)
 

Detailed Description

Definition at line 3 of file HeavyAIExceptionText.java.

Member Function Documentation

static String ai.heavy.jdbc.HeavyAIExceptionText.getExceptionDetail ( Exception  ex)
inlinestaticpackage

Definition at line 4 of file HeavyAIExceptionText.java.

Referenced by ai.heavy.jdbc.HeavyAIStatement.cancel(), ai.heavy.jdbc.HeavyAIStatement.executeQuery(), ai.heavy.jdbc.HeavyAIStatement.executeUpdate(), ai.heavy.jdbc.HeavyAIConnection.getAlternateConnection(), and ai.heavy.jdbc.HeavyAIConnection.HeavyAIConnection().

4  {
5  if (ex.getStackTrace().length < 1) {
6  return "Error in stack trace processing";
7  }
8  StackTraceElement sE = ex.getStackTrace()[0];
9  return "[" + sE.getFileName() + ":" + sE.getMethodName() + ":" + sE.getLineNumber()
10  + ":" + ex.toString() + "]";
11  }

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: