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
A generic exception raised when some Git related issue is encountered.
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionGitException(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 Details
-
GitException
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
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
Constructs a new exception with the specified cause.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method).
-