|
JMSLTM Numerical Library 6.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.imsl.IMSLRuntimeException com.imsl.LicenseManagerException
public class LicenseManagerException
A LicenseManagerException exception is thrown if
a license to use the product cannot be obtained.
Either a LicenseManagerException exception will be thrown or
a ExceptionInInitializerError
exception will be thrown
with LicenseManagerException
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. This is a combination
of one or more license file paths and
[port]@host specifications.
Multiple components of the list are separated by a
semicolon (; ) on Windows or colon (: ) on UNIX.
Redundant servers are not supported in Java.
Default is license.dat:@localhost (Windows)
or license.dat:@localhost (Unix).
|
com.imsl.license.queue | "true" or "false" |
If "true" , automatically wait in the queue for a license without asking.
Default is to ask the user.
|
com.imsl.license.popup | "true" or "false" |
If "true" , use a dialog box to show any license manager errors
or to ask the user about waiting for a license.
If "false" , errors only result in this exception being thrown.
The user is asked on the console about waiting for a license.
Default is to use a popup.
|
ExceptionInInitializerError
,
System.setProperty(String,String)
,
Serialized FormMethod Summary | |
---|---|
int |
getErrorNumber()
Returns the FlexLM 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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getErrorNumber()
public String getFeature()
public String getLicensePath()
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
|
JMSLTM Numerical Library 6.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |