Class InvalidObjectIdException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by org.eclipse.jgit.errors.InvalidObjectIdException
All Implemented Interfaces:

public class InvalidObjectIdException
extends IllegalArgumentException

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

See Also:
Serialized Form

Constructor Summary
InvalidObjectIdException(byte[] bytes, int offset, int length)
          Create exception with bytes of the invalid object id.
Method Summary
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public InvalidObjectIdException(byte[] bytes,
                                int offset,
                                int length)
Create exception with bytes of the invalid object id.

bytes - containing the invalid id.
offset - in the byte array where the error occurred.
length - of the sequence of invalid bytes.

Copyright © 2013. All Rights Reserved.