org.eclipse.jgit.errors
Class CorruptObjectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.eclipse.jgit.errors.CorruptObjectException
All Implemented Interfaces:
Serializable

public class CorruptObjectException
extends IOException

Exception thrown when an object cannot be read from Git.

See Also:
Serialized Form

Constructor Summary
CorruptObjectException(AnyObjectId id, String why)
          Construct a CorruptObjectException for reporting a problem specified object id
CorruptObjectException(ObjectId id, String why)
          Construct a CorruptObjectException for reporting a problem specified object id
CorruptObjectException(String why)
          Construct a CorruptObjectException for reporting a problem not associated with a specific 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

CorruptObjectException

public CorruptObjectException(AnyObjectId id,
                              String why)
Construct a CorruptObjectException for reporting a problem specified object id

Parameters:
id -
why -

CorruptObjectException

public CorruptObjectException(ObjectId id,
                              String why)
Construct a CorruptObjectException for reporting a problem specified object id

Parameters:
id -
why -

CorruptObjectException

public CorruptObjectException(String why)
Construct a CorruptObjectException for reporting a problem not associated with a specific object id.

Parameters:
why -


Copyright © 2013. All Rights Reserved.