Package hudson.plugins.git
Class GitException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- hudson.plugins.git.GitException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GitLockFailedException
public class GitException extends RuntimeException
Records exception information related to git operations. This exception is used to encapsulate command line git errors, JGit errors, and other errors related to git operations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GitException()
Constructor for GitException.GitException(String message)
Constructor for GitException.GitException(String message, Throwable cause)
Constructor for GitException.GitException(Throwable cause)
Constructor for GitException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
GitException
public GitException()
Constructor for GitException.
-
GitException
public GitException(String message)
Constructor for GitException.- Parameters:
message
-String
description to associate with this exception
-
GitException
public GitException(Throwable cause)
Constructor for GitException.- Parameters:
cause
-Throwable
which caused this exception
-
-