Examples of IORuntimeException


Examples of net.sourceforge.align.util.IORuntimeException

        throw new UnknownParameterException("class");
      }
      Formatter formatter = new AlFormatter(getOut());
      formatter.format(alignmentList);
    } catch (IOException e) {
      throw new IORuntimeException(e);
    }
  }
View Full Code Here

Examples of net.sourceforge.segment.util.IORuntimeException

      writer.close();
      Reader resultReader = getReader(getFileInputStream(file
          .getAbsolutePath()));
      return resultReader;
    } catch (IOException e) {
      throw new IORuntimeException(e);
    }
  }
View Full Code Here

Examples of net.sourceforge.segment.util.IORuntimeException

        if ((c != ' ' && c != '\t' && c != '\r' && c != '\n' && c != '\f')) {
          builder.append((char)c);
        }
      }
    } catch (IOException e) {
      throw new IORuntimeException(e);
    }
   
    return builder.toString();
  }
View Full Code Here

Examples of net.sourceforge.segment.util.IORuntimeException

          && start < buffer.length) {
        start += count;
      }
      return start;
    } catch (IOException e) {
      throw new IORuntimeException(e);
    }
  }
View Full Code Here

Examples of net.sourceforge.segment.util.IORuntimeException

  private void readCharacter() {
    int readResult;
    try {
      readResult = reader.read();
    } catch (IOException e) {
      throw new IORuntimeException(e);
    }     
    if (readResult == -1) {
      length = position;
    } else {
      char character = (char)readResult;
View Full Code Here

Examples of org.apache.aries.util.IORuntimeException

          entry = zis.getNextEntry();
        }

        return result;
      } catch (IOException e) {
        throw new IORuntimeException("IOException reading nested ZipFile", e);
      } finally {
        IOUtils.close(zis);
      }
    }
  }
View Full Code Here

Examples of org.apache.aries.util.IORuntimeException

          if (name.startsWith(ze.getName())) entries.put(ze.getName(), ze);

          ze = zis.getNextEntry();
        }
      } catch (IOException e) {
        throw new IORuntimeException("IOException reading nested ZipFile", e);
      } finally {
        IOUtils.close(zis);
      }
    }
View Full Code Here

Examples of org.apache.aries.util.IORuntimeException

  public ICloseableDirectory toCloseable() {
    try {
      return new NestedCloseableDirectory(archive, this);
    } catch (IOException e) {
      throw new IORuntimeException("Exception while creating extracted version of nested zip file", e);
    }
  }
View Full Code Here

Examples of org.apache.aries.util.IORuntimeException

  public ICloseableDirectory toCloseable() {
    try {
      return new ZipCloseableDirectory(zip, this);
    } catch (IOException e) {
      throw new IORuntimeException("IOException opening zip file: " + this, e);
    }
  }
View Full Code Here

Examples of org.apache.aries.util.IORuntimeException

      z = cache.getZipFile();
    } else {
      try {
        z = new ZipFile(zip);
      } catch (IOException e) {
        throw new IORuntimeException("IOException in ZipFileImpl.openZipFile", e);
      }
    }
    return z;
  }
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.