org.eclipse.jgit.patch
Class FormatError
java.lang.Object
org.eclipse.jgit.patch.FormatError
public class FormatError
- extends Object
An error in a patch script
getSeverity
public FormatError.Severity getSeverity()
- Returns:
- the severity of the error.
getMessage
public String getMessage()
- Returns:
- a message describing the error.
getBuffer
public byte[] getBuffer()
- Returns:
- the byte buffer holding the patch script.
getOffset
public int getOffset()
- Returns:
- byte offset within
getBuffer()
where the error is
getLineText
public String getLineText()
- Returns:
- line of the patch script the error appears on.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.