Package org.molgenis.framework.tupletable

Examples of org.molgenis.framework.tupletable.TableException


        tupleTable.setLimit(rowLimit);
      }
    }
    catch (IOException e)
    {
      throw new TableException(e);
    }
    finally
    {
      IOUtils.closeQuietly(excelWriter);
    }
View Full Code Here


        HeaderHelper.setHeader(request.getResponse(), "application/octet-stream", fileName + ".zip");
        exportFile(zipExport, request.getResponse());
      }
      catch (Exception e)
      {
        throw new TableException(e);
      }
    }
View Full Code Here

      spsWriter.flush();
      spsWriter.close();
    }
    catch (IOException e)
    {
      throw new TableException(e);
    }
  }
View Full Code Here

      final Renderers.Renderer view = viewFactory.createView(strViewType);
      view.export(request, request.getString("caption"), tupleTable, totalPages, postData.getPage());
    }
    catch (final Exception e)
    {
      throw new TableException(e);
    }
  }
View Full Code Here

        rs = db.sql(query, getFilters().toArray(new QueryRule[0]));
        columns = loadColumns();
      }
      catch (Exception e)
      {
        throw new TableException(e);
      }
    }
  }
View Full Code Here

      }
      return rowCount;
    }
    catch (Exception ex)
    {
      throw new TableException(ex);
    }
  }
View Full Code Here

      columns = getDb().getMetaData().getEntity(entityClass.getSimpleName()).getAllFields();
      return columns;
    }
    catch (Exception e)
    {
      throw new TableException(e);
    }
  }
View Full Code Here

      else
        return getDb().count(entityClass);
    }
    catch (DatabaseException e)
    {
      throw new TableException(e);
    }
  }
View Full Code Here

      resetStreams();
      loadColumns();
    }
    catch (Exception e)
    {
      throw new TableException(e);
    }
  }
View Full Code Here

        // substract 1 because of header
        rowCount = lineReader.getLineNumber() - 1;
      }
      catch (Exception e)
      {
        throw new TableException(e);
      }
      finally
      {
        IOUtils.closeQuietly(lineReader);
      }
View Full Code Here

TOP

Related Classes of org.molgenis.framework.tupletable.TableException

Copyright © 2018 www.massapicom. 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.