public class LicenseException extends IMSLRuntimeException
A LicenseException exception is thrown if
a license to use the product cannot be obtained.
Either a LicenseException exception will be thrown or
a ExceptionInInitializerError exception will be thrown
with LicenseException as the cause.
The behavior of the license manager is controlled by the following system properties.
| Property | Value | Meaning |
| com.imsl.license.path | License file path |
A location in your installation hierarchy which indicates
the expected license file location.
Default is imsl_eval.dat.
|
| com.imsl.license.popup | "true" or "false" |
If "true", use a dialog box to show any
license manager errors.
If "false", errors only result in this exception being thrown.
Default is to use a popup.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorNumber()
Returns the error number for this exception.
|
String |
getFeature()
Returns the name of the feature that could not be licensed.
|
String |
getLicensePath()
Returns the license file path for this exception.
|
String |
getLocalizedMessage()
Returns the localized error message for this exception.
|
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic String getFeature()
String, the name of the featurepublic int getErrorNumber()
int, the error numberpublic String getLicensePath()
String, the license file pathpublic String getLocalizedMessage()
getLocalizedMessage in class ThrowableString, the error messageCopyright © 2020 Rogue Wave Software. All rights reserved.