Examples of DataLoadException


Examples of com.greentea.relaxation.jnmf.util.data.loading.DataLoadException

         rows.add(row);
      }

      if (rows.isEmpty())
      {
         throw new DataLoadException(Localizer.getString(StringId.FILE_DOESNT_CONTAIN_TEXT_DATA));
      }

      final int preloadedDataColumnsCount = rows.get(0).size();
      if (metadataOfPreload != null &&
              preloadedDataColumnsCount != metadataOfPreload.getColumnsCount())
View Full Code Here

Examples of com.greentea.relaxation.jnmf.util.data.loading.DataLoadException

         scanner = createScanner();
         rows = preloadData(scanner);
      }
      catch (FileNotFoundException e)
      {
         throw new DataLoadException(Localizer.getString(StringId.DATA_FILE_NOT_FOUND), e);
      }
      finally
      {
         if (scanner != null)
         {
View Full Code Here

Examples of com.greentea.relaxation.jnmf.util.data.loading.DataLoadException

         {
            metadata = Metadata.parseXml(metadataXml.toString());
         }
         catch (WrongMetadataException e)
         {
            throw new DataLoadException(Localizer.getString(StringId.WRONG_METADATA_FORMAT), e);
         }
      }
      return metadata;
   }
View Full Code Here

Examples of com.greentea.relaxation.jnmf.util.data.loading.DataLoadException

         scanner = createScanner();
         dataset = load(scanner);
      }
      catch (FileNotFoundException e)
      {
         throw new DataLoadException(Localizer.getString(StringId.DATA_FILE_NOT_FOUND), e);
      }
      finally
      {
         if (scanner != null)
         {
View Full Code Here

Examples of com.greentea.relaxation.jnmf.util.data.loading.DataLoadException

            scanner = createScanner();
            addParsingDetailsAndMetadataToFile(scanner);
         }
         catch (FileNotFoundException e)
         {
            throw new DataLoadException(Localizer.getString(StringId.DATA_FILE_NOT_FOUND), e);
         }
         finally
         {
            if (scanner != null)
            {
View Full Code Here

Examples of com.greentea.relaxation.jnmf.util.data.loading.DataLoadException

         scanner = createScanner();
         parsingDetails = loadParsingDetails(scanner);
      }
      catch (FileNotFoundException e)
      {
         throw new DataLoadException(Localizer.getString(StringId.DATA_FILE_NOT_FOUND), e);
      }
      finally
      {
         if (scanner != null)
         {
View Full Code Here

Examples of com.greentea.relaxation.jnmf.util.data.loading.DataLoadException

   private Dataset loadDataFromInteractiveInput(Metadata metadata) throws DataLoadException
   {
      Scanner s = new Scanner(interactiveInputTextPane.getText());
      if (!s.hasNextLine())
      {
         throw new DataLoadException(Localizer.getString(StringId.NO_DATA_FOR_ANALYSIS));
      }

      TextDataLoader textDataLoader = new TextDataLoader();
      textDataLoader.setDataInTextForm(interactiveInputTextPane.getText());
      textDataLoader.setLoadInputData(true);
View Full Code Here

Examples of org.broad.igv.exceptions.DataLoadException

            return newTracks;
        } catch (Exception e) {
            if (!NOLogExceptions.contains(e.getClass())) {
                log.error(e.getMessage(), e);
            }
            throw new DataLoadException(e.getMessage());
        }

    }
View Full Code Here

Examples of org.broad.igv.exceptions.DataLoadException

        DASFeatureSource featureSource = null;
        try {
            featureSource = new DASFeatureSource(locator);
        } catch (MalformedURLException e) {
            log.error("Malformed URL", e);
            throw new DataLoadException("Error: Malformed URL ");
        }

        FeatureTrack track = new FeatureTrack(locator, featureSource);

        // Try to create a sensible name from the path
View Full Code Here

Examples of org.broad.igv.exceptions.DataLoadException

                IGV.getInstance().doRefresh();
            }

        } catch (IOException ex) {
            log.error("Error loading attribute file", ex);
            throw new DataLoadException("Error reading attribute file", locator.getPath());
        } finally {
            if (reader != null) {
                reader.close();

            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.