JMSLTM Numerical Library 6.1

com.imsl
Class LicenseManagerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.imsl.IMSLRuntimeException
                  extended by com.imsl.LicenseManagerException
All Implemented Interfaces:
Serializable

public class LicenseManagerException
extends IMSLRuntimeException

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.

See Also:
ExceptionInInitializerError, System.setProperty(String,String), Serialized Form

Method 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

getErrorNumber

public int getErrorNumber()
Returns the FlexLM error number for this exception.


getFeature

public String getFeature()
Returns the name of the feature that could not be licensed.


getLicensePath

public String getLicensePath()
Returns the license file path for this exception.


getLocalizedMessage

public String getLocalizedMessage()
Returns the localized error message for this exception.

Overrides:
getLocalizedMessage in class Throwable

JMSLTM Numerical Library 6.1

Copyright © 1970-2010 Visual Numerics, Inc.
Built July 30 2010.