public class RepositoryOfflineException extends IllegalRepositoryStateException
Constructor and Description |
---|
RepositoryOfflineException(KeyedMessage message)
Deprecated.
in 7.15 for removal in 8.0. Use
RepositoryOfflineException(KeyedMessage, KeyedMessage)
instead and provide a detailed message. |
RepositoryOfflineException(KeyedMessage message,
KeyedMessage detailedMessage) |
RepositoryOfflineException(KeyedMessage message,
KeyedMessage detailedMessage,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
KeyedMessage |
getDetailedMessage()
Returns the detailed message for this exception.
|
getKeyedMessage, getLocalizedMessage, getMessageKey
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@Deprecated public RepositoryOfflineException(@Nonnull KeyedMessage message)
RepositoryOfflineException(KeyedMessage, KeyedMessage)
instead and provide a detailed message.message
- must not be null
public RepositoryOfflineException(@Nonnull KeyedMessage message, @Nonnull KeyedMessage detailedMessage)
message
- a short summary message, must not be null
detailedMessage
- the more detailed message, must not be null
public RepositoryOfflineException(@Nonnull KeyedMessage message, @Nonnull KeyedMessage detailedMessage, @Nullable Throwable cause)
message
- a short summary message, must not be null
detailedMessage
- the more detailed message, must not be null
cause
- the cause of the failure, which may be null
for top-level failures@Nullable public KeyedMessage getDetailedMessage()
Nonnull
once RepositoryOfflineException(KeyedMessage)
is removed in 8.0.detailed message
Copyright © 2022 Atlassian. All rights reserved.