return newSystemException("Cannot complete operation, invalid state: " + state);
return new SystemException(str);
return new SystemException("Real nested exception: " + stackTraceString(ex));
return new RollbackException(sqlEx.toString());
StringWriter swriter = new StringWriter(); PrintWriter writer = new PrintWriter(swriter, true); ex.printStackTrace(writer); writer.close(); return swriter.toString();
return newSystemException("Transaction is already active");
return newSystemException("Transaction marked for rollback");
return newSystemException("No transaction is active");