org.eclipse.jgit.errors
Class RevisionSyntaxException

java.lang.Object
  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.RevisionSyntaxException
All Implemented Interfaces:
Serializable

public class RevisionSyntaxException
extends IllegalArgumentException

This signals a revision or object reference was not properly formatted.

See Also:
Serialized Form

Constructor Summary
RevisionSyntaxException(String revstr)
          Construct a RevisionSyntaxException indicating a syntax problem with a revision (or object) string.
RevisionSyntaxException(String message, String revstr)
          Construct a RevisionSyntaxException indicating a syntax problem with a revision (or object) string.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RevisionSyntaxException

public RevisionSyntaxException(String revstr)
Construct a RevisionSyntaxException indicating a syntax problem with a revision (or object) string.

Parameters:
revstr - The problematic revision string

RevisionSyntaxException

public RevisionSyntaxException(String message,
                               String revstr)
Construct a RevisionSyntaxException indicating a syntax problem with a revision (or object) string.

Parameters:
message - a specific reason
revstr - The problematic revision string
Method Detail

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2012. All Rights Reserved.