Package org.eclipse.jgit.errors

Examples of org.eclipse.jgit.errors.ObjectWritingException


  public byte[] format() throws IOException {
    TreeFormatter fmt = new TreeFormatter();
    for (TreeEntry e : members()) {
      ObjectId id = e.getId();
      if (id == null)
        throw new ObjectWritingException(MessageFormat.format(JGitText
            .get().objectAtPathDoesNotHaveId, e.getFullName()));

      fmt.append(e.getNameUTF8(), e.getMode(), id);
    }
    return fmt.toByteArray();
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.errors.ObjectWritingException

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.