public class UpgradeException extends Exception
| Constructor and Description |
|---|
UpgradeException(String message)
Deprecated.
since 7.9.0 use Use
UpgradeException(String, URL) |
UpgradeException(String message,
Collection<UpgradeError> upgradeErrors)
Creates a new UpgradeException with given message for a list of upgradeErrors.
|
UpgradeException(String message,
Throwable cause)
Deprecated.
since 7.9.0 use Use
UpgradeException(String, URL, Throwable) |
UpgradeException(String message,
URL kbURL)
Creates a new UpgradeException for given message and URL for the Modern Johnson UI.
|
UpgradeException(String message,
URL kbURL,
boolean fatal)
Creates a new UpgradeException for given message, URL and cause for the Modern Johnson UI.
|
UpgradeException(String message,
URL kbURL,
Throwable cause)
Creates a new UpgradeException for given message, URL and cause for the Modern Johnson UI.
|
UpgradeException(String message,
URL kbURL,
Throwable cause,
boolean fatal)
Creates a new UpgradeException for given message, URL and cause for the Modern Johnson UI that allows it to be fatal
|
UpgradeException(Throwable cause)
Creates a new UpgradeException for given cause.
|
| Modifier and Type | Method and Description |
|---|---|
URL |
getKbURL() |
Collection<UpgradeError> |
getUpgradeErrors() |
String |
getUpgradeErrorUiMessage() |
boolean |
isFatal() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UpgradeException(String message, Collection<UpgradeError> upgradeErrors)
message - String messageupgradeErrors - Collection of UpgradeErrors@Deprecated public UpgradeException(String message)
UpgradeException(String, URL)message - String message@Deprecated public UpgradeException(String message, Throwable cause)
UpgradeException(String, URL, Throwable)message - Stringcause - Throwablepublic UpgradeException(Throwable cause)
cause - Throwablepublic UpgradeException(String message, URL kbURL)
message - StringkbURL - URLpublic UpgradeException(String message, URL kbURL, boolean fatal)
message - StringkbURL - URLfatal - boolean set to true to make this exception generate a fatal Johnson eventpublic UpgradeException(String message, URL kbURL, Throwable cause)
message - StringkbURL - URLcause - Throwablepublic UpgradeException(String message, URL kbURL, Throwable cause, boolean fatal)
message - StringkbURL - URLcause - Throwablefatal - boolean set to true to make this exception generate a fatal Johnson eventpublic Collection<UpgradeError> getUpgradeErrors()
public String getUpgradeErrorUiMessage()
public URL getKbURL()
public boolean isFatal()
Copyright © 2003–2022 Atlassian. All rights reserved.