Top Description Fields Constructors Methods
org.eclipse.jgit.lfs.errors

public Class InvalidLongObjectIdException

extends IllegalArgumentException
Class Inheritance
Static Imports
java.nio.charset.StandardCharsets.US_ASCII

Thrown when an invalid long object id is passed in as an argument.
Since
4.3

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
InvalidLongObjectIdException(byte[]
containing the invalid id.
bytes
,
int
in the byte array where the error occurred.
offset
,
int
of the sequence of invalid bytes.
length
)

Create exception with bytes of the invalid object id.

public
InvalidLongObjectIdException(String
String containing the invalid id
idString
)

Constructor for InvalidLongObjectIdException.

Method Summary

Modifier and TypeMethod and Description
private static String
asAscii(byte[] bytes, int offset, int length)

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IllegalArgumentException.serialVersionUID.

Constructor Detail

InvalidLongObjectIdExceptionback to summary
public InvalidLongObjectIdException(byte[] bytes, int offset, int length)

Create exception with bytes of the invalid object id.

Parameters
bytes:byte[]

containing the invalid id.

offset:int

in the byte array where the error occurred.

length:int

of the sequence of invalid bytes.

InvalidLongObjectIdExceptionback to summary
public InvalidLongObjectIdException(String idString)

Constructor for InvalidLongObjectIdException.

Parameters
idString:String

String containing the invalid id

Method Detail

asAsciiback to summary
private static String asAscii(byte[] bytes, int offset, int length)