Package com.mooltiverse.oss.nyx.services
Class GitServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.mooltiverse.oss.nyx.services.GitServiceException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GitSecurityException
,GitTransportException
public class GitServiceException extends Exception
A generic Git exception class that indicates an issue with a remote service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GitServiceException(String message)
Constructs a new exception with the specified detail message.GitServiceException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.GitServiceException(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
-
GitServiceException
public GitServiceException(String message)
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message.
-
GitServiceException
public GitServiceException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail message.cause
- the cause
-
GitServiceException
public GitServiceException(Throwable cause)
Constructs a new exception with the specified cause- Parameters:
cause
- the cause
-
-