org.gitective.core
Class GitException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.gitective.core.GitException
All Implemented Interfaces:
Serializable

public class GitException
extends RuntimeException

Git exception class.

See Also:
Serialized Form

Constructor Summary
GitException(org.eclipse.jgit.lib.Repository repository)
          Create a Git exception
GitException(String message, org.eclipse.jgit.lib.Repository repository)
          Create a Git exception with a message
GitException(String message, Throwable cause, org.eclipse.jgit.lib.Repository repository)
          Create a Git exception with a message and cause
GitException(Throwable cause, org.eclipse.jgit.lib.Repository repository)
          Create a Git exception with a cause
 
Method Summary
 org.eclipse.jgit.lib.Repository getRepository()
          Get repository where exception occurred
 
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

GitException

public GitException(String message,
                    Throwable cause,
                    org.eclipse.jgit.lib.Repository repository)
Create a Git exception with a message and cause

Parameters:
message -
cause -
repository -

GitException

public GitException(Throwable cause,
                    org.eclipse.jgit.lib.Repository repository)
Create a Git exception with a cause

Parameters:
cause -
repository -

GitException

public GitException(String message,
                    org.eclipse.jgit.lib.Repository repository)
Create a Git exception with a message

Parameters:
message -
repository -

GitException

public GitException(org.eclipse.jgit.lib.Repository repository)
Create a Git exception

Parameters:
repository -
Method Detail

getRepository

public org.eclipse.jgit.lib.Repository getRepository()
Get repository where exception occurred

Returns:
repository


Copyright © 2011-2012. All Rights Reserved.