Package com.atlassian.confluence.upgrade
Class UpgradeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.atlassian.confluence.upgrade.UpgradeException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUpgradeException
(String message) Deprecated.UpgradeException
(String message, Throwable cause) Deprecated.since 7.9.0 use UseUpgradeException(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 fatalUpgradeException
(String message, Collection<UpgradeError> upgradeErrors) Creates a new UpgradeException with given message for a list of upgradeErrors.UpgradeException
(Throwable cause) Creates a new UpgradeException for given 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
-
UpgradeException
Creates a new UpgradeException with given message for a list of upgradeErrors.- Parameters:
message
- String messageupgradeErrors
- Collection of UpgradeErrors- Since:
- 7.9.0
-
UpgradeException
Deprecated.since 7.9.0 use UseUpgradeException(String, URL)
Creates a new UpgradeException for given message.- Parameters:
message
- String message
-
UpgradeException
Deprecated.since 7.9.0 use UseUpgradeException(String, URL, Throwable)
Creates a new UpgradeException for given message and cause.- Parameters:
message
- Stringcause
- Throwable
-
UpgradeException
Creates a new UpgradeException for given cause.- Parameters:
cause
- Throwable- Since:
- 7.9.0
-
UpgradeException
Creates a new UpgradeException for given message and URL for the Modern Johnson UI.- Parameters:
message
- StringkbURL
- URL- Since:
- 7.9.0
-
UpgradeException
Creates a new UpgradeException for given message, URL and cause for the Modern Johnson UI.- Parameters:
message
- StringkbURL
- URLfatal
- boolean set to true to make this exception generate a fatal Johnson event- Since:
- 7.9.0
-
UpgradeException
Creates a new UpgradeException for given message, URL and cause for the Modern Johnson UI.- Parameters:
message
- StringkbURL
- URLcause
- Throwable- Since:
- 7.9.0
-
UpgradeException
Creates a new UpgradeException for given message, URL and cause for the Modern Johnson UI that allows it to be fatal- Parameters:
message
- StringkbURL
- URLcause
- Throwablefatal
- boolean set to true to make this exception generate a fatal Johnson event- Since:
- 7.9.0
-
-
Method Details
-
getUpgradeErrors
-
getUpgradeErrorUiMessage
-
getKbURL
-
isFatal
public boolean isFatal()
-
UpgradeException(String, URL)