Class RepositoryOfflineException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.bitbucket.ServiceException
com.atlassian.bitbucket.IllegalEntityStateException
com.atlassian.bitbucket.repository.IllegalRepositoryStateException
com.atlassian.bitbucket.repository.RepositoryOfflineException
- All Implemented Interfaces:
Serializable
Occurs when a repository is offline, i.e., when the node on which a repository is present becomes unreachable.
- Since:
- 7.12
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryOfflineException(KeyedMessage message, KeyedMessage detailedMessage) RepositoryOfflineException(KeyedMessage message, KeyedMessage detailedMessage, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionReturns the detailed message for this exception.Methods inherited from class com.atlassian.bitbucket.ServiceException
getKeyedMessage, getLocalizedMessage, getMessageKeyMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RepositoryOfflineException
public RepositoryOfflineException(@Nonnull KeyedMessage message, @Nonnull KeyedMessage detailedMessage) - Parameters:
message- a short summary message, must not benulldetailedMessage- the more detailed message, must not benull- Since:
- 7.15
-
RepositoryOfflineException
public RepositoryOfflineException(@Nonnull KeyedMessage message, @Nonnull KeyedMessage detailedMessage, @Nullable Throwable cause) - Parameters:
message- a short summary message, must not benulldetailedMessage- the more detailed message, must not benullcause- the cause of the failure, which may benullfor top-level failures- Since:
- 7.18
-
-
Method Details
-
getDetailedMessage
Returns the detailed message for this exception.- Returns:
- the
detailed message - Since:
- 7.15
-