Package org.eclipse.jgit.lfs.errors
Class InvalidLongObjectIdException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.eclipse.jgit.lfs.errors.InvalidLongObjectIdException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidLongObjectIdException extends java.lang.IllegalArgumentException
Thrown when an invalid long object id is passed in as an argument.- Since:
- 4.3
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description InvalidLongObjectIdException(byte[] bytes, int offset, int length)
Create exception with bytes of the invalid object id.InvalidLongObjectIdException(java.lang.String idString)
Constructor for InvalidLongObjectIdException.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.String
asAscii(byte[] bytes, int offset, int length)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InvalidLongObjectIdException
public InvalidLongObjectIdException(byte[] bytes, int offset, int length)
Create exception with bytes of the invalid object id.- Parameters:
bytes
- containing the invalid id.offset
- in the byte array where the error occurred.length
- of the sequence of invalid bytes.
-
InvalidLongObjectIdException
public InvalidLongObjectIdException(java.lang.String idString)
Constructor for InvalidLongObjectIdException.
- Parameters:
idString
- String containing the invalid id
-
-