Package com.mooltiverse.oss.nyx.git
Class GitException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.mooltiverse.oss.nyx.NyxException
-
- com.mooltiverse.oss.nyx.git.GitException
-
- All Implemented Interfaces:
Serializable
public class GitException extends NyxException
A generic exception raised when some Git related issue is encountered.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GitException()
Constructs a new exception withnull
as its detail message.GitException(String message)
Constructs a new exception with the specified detail message.GitException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.GitException(Throwable cause)
Constructs a new exception with the specified cause.
-
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()
Constructs a new exception withnull
as its detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
.
-
GitException
public GitException(String message)
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
GitException
public GitException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method).
-
GitException
public GitException(Throwable cause)
Constructs a new exception with the specified cause.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method).
-
-