|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--net.windward.util.LicenseException
This exception is thrown if there is a problem with the license for the engine. This can include having more servers running than are licensed.
| Field Summary | |
static int |
BAD_DATE
Has a non-sensical expiration date. |
static int |
BAD_KEY
The username & password do not match. |
static int |
BAD_XML
The xml in the license file was malformed. |
static int |
DAILY_LIMIT
Went over the daily limit of 500 reports. |
static int |
DEMO_VERSION
The demo version is limited from running at certain times. |
static int |
DEV_LIMIT
Can only do 1 thread at a time in the dev version. |
static int |
EXPIRED_KEY
The license is expired. |
static int |
LATER_VERSION
The license is not legit for the version of Windward Reports being run. |
static int |
NO_KEY
There is no license key. |
static int |
NO_PROP
The license entry in the properties file was not found. |
static int |
NO_PROP_FILE
The Windward Reports properties file could not be found. |
static int |
REVOKED
This license is revoked. |
static int |
TOO_MANY_CPUS
Running on more CPUs than licensed for |
static int |
TOO_MANY_MACHINES
Running on more machines than licensed for |
static int |
UNKNOWN_ERROR
Some problem with the license. |
static int |
UNKNOWN_IP
The machine's IP address is not in the license. |
static int |
WRONG_PRODUCT
This license is for a different product. |
static int |
WRONG_TEMPLATE
This license is for a different template type. |
| Constructor Summary | |
LicenseException(int cause)
Create a LicenseException object. |
|
LicenseException(int cause,
java.lang.String message)
Create a LicenseException object. |
|
| Method Summary | |
java.lang.String |
get_Message()
|
java.lang.String |
getMessage()
Return the exception as a String. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int NO_KEY
public static final int BAD_KEY
public static final int EXPIRED_KEY
public static final int DAILY_LIMIT
public static final int DEV_LIMIT
public static final int NO_PROP_FILE
public static final int BAD_XML
public static final int BAD_DATE
public static final int NO_PROP
public static final int UNKNOWN_IP
public static final int LATER_VERSION
public static final int DEMO_VERSION
public static final int WRONG_PRODUCT
public static final int TOO_MANY_MACHINES
public static final int UNKNOWN_ERROR
public static final int REVOKED
public static final int TOO_MANY_CPUS
public static final int WRONG_TEMPLATE
| Constructor Detail |
public LicenseException(int cause)
cause - What type of license problem it is.
public LicenseException(int cause,
java.lang.String message)
cause - What type of license problem it is.message - The message to post with this exception.| Method Detail |
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String get_Message()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||