|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jgit.errors.RevWalkException
public class RevWalkException
Indicates a checked exception was thrown inside of RevWalk
.
Usually this exception is thrown from the Iterator created around a RevWalk
instance, as the Iterator API does not allow checked exceptions to be thrown
from hasNext() or next(). The Throwable.getCause()
of this exception
is the original checked exception that we really wanted to throw back to the
application for handling and recovery.
Constructor Summary | |
---|---|
RevWalkException(java.lang.Throwable cause)
Create a new walk exception an original cause. |
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 RevWalkException(java.lang.Throwable cause)
cause
- the checked exception that describes why the walk failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |