Class KnownConfluenceLicenseValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.confluence.license.exception.LicenseException
-
- com.atlassian.confluence.license.exception.LicenseValidationException
-
- com.atlassian.confluence.license.exception.ConfluenceLicenseValidationException
-
- com.atlassian.confluence.license.exception.KnownConfluenceLicenseValidationException
-
- All Implemented Interfaces:
Serializable
public class KnownConfluenceLicenseValidationException extends ConfluenceLicenseValidationException
Indicates problems with (parts of) theConfluenceLicense
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KnownConfluenceLicenseValidationException.Reason
-
Field Summary
Fields Modifier and Type Field Description static String
LICENSE_INVALID_UPGRADE_LEGACY_SERVER
static String
LICENSE_INVALID_UPGRADE_UNKNOWN
-
Constructor Summary
Constructors Constructor Description KnownConfluenceLicenseValidationException(com.atlassian.extras.api.confluence.ConfluenceLicense license, KnownConfluenceLicenseValidationException.Reason reason)
KnownConfluenceLicenseValidationException(String message, com.atlassian.extras.api.confluence.ConfluenceLicense license, KnownConfluenceLicenseValidationException.Reason reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KnownConfluenceLicenseValidationException.Reason
reason()
-
Methods inherited from class com.atlassian.confluence.license.exception.ConfluenceLicenseValidationException
getLicense
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
LICENSE_INVALID_UPGRADE_UNKNOWN
public static final String LICENSE_INVALID_UPGRADE_UNKNOWN
- See Also:
- Constant Field Values
-
LICENSE_INVALID_UPGRADE_LEGACY_SERVER
public static final String LICENSE_INVALID_UPGRADE_LEGACY_SERVER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
KnownConfluenceLicenseValidationException
public KnownConfluenceLicenseValidationException(com.atlassian.extras.api.confluence.ConfluenceLicense license, KnownConfluenceLicenseValidationException.Reason reason)
-
KnownConfluenceLicenseValidationException
public KnownConfluenceLicenseValidationException(String message, com.atlassian.extras.api.confluence.ConfluenceLicense license, KnownConfluenceLicenseValidationException.Reason reason)
-
-
Method Detail
-
reason
public KnownConfluenceLicenseValidationException.Reason reason()
- Returns:
- the reason for the validation failure
-
-