OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.omnisci.jdbc.OmniSciExceptionText Class Reference

Static Package Functions

static String getExceptionDetail (Exception ex)
 

Detailed Description

Definition at line 3 of file OmniSciExceptionText.java.

Member Function Documentation

static String com.omnisci.jdbc.OmniSciExceptionText.getExceptionDetail ( Exception  ex)
inlinestaticpackage

Definition at line 4 of file OmniSciExceptionText.java.

Referenced by com.omnisci.jdbc.OmniSciStatement.cancel(), com.omnisci.jdbc.OmniSciStatement.executeQuery(), com.omnisci.jdbc.OmniSciStatement.executeUpdate(), com.omnisci.jdbc.OmniSciConnection.getAlternateConnection(), and com.omnisci.jdbc.OmniSciConnection.OmniSciConnection().

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: