public class LicenseException extends SecurityException
Constructor and Description |
---|
LicenseException(String message,
Optional<Feature> feature,
Optional<Integer> errorCode)
Creates a new exception instance.
|
Modifier and Type | Method and Description |
---|---|
Optional<Integer> |
getErrorCode()
Returns the underlying FlexNet error code, if any.
|
Optional<Feature> |
getFeature()
Returns the license feature involved in the FlexNet operation, if any.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LicenseException(String message, Optional<Feature> feature, Optional<Integer> errorCode)
message
- the exception message.feature
- the license feature involved in the FlexNet operation, if any.errorCode
- the underlying FlexNet error code, if any.