java.lang.Object
org.eclipse.jgit.patch.FormatError
An error in a patch script
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Get the byte buffer holding the patch script.Get line of the patch script the error appears on.Get a message describing the error.int
Get byte offset withingetBuffer()
where the error is.Get the severity of the error.toString()
-
Method Details
-
getSeverity
Get the severity of the error.- Returns:
- the severity of the error.
-
getMessage
Get a message describing the error.- Returns:
- a message describing the error.
-
getBuffer
public byte[] getBuffer()Get the byte buffer holding the patch script.- Returns:
- the byte buffer holding the patch script.
-
getOffset
public int getOffset()Get byte offset withingetBuffer()
where the error is.- Returns:
- byte offset within
getBuffer()
where the error is.
-
getLineText
Get line of the patch script the error appears on.- Returns:
- line of the patch script the error appears on.
-
toString
-