public class LicenseException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
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 |
FAILED_TO_CONTACT_LICENSE_SERVER
For license server.
|
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 |
OEM
OEM version called by non-OEM
|
static int |
ONE_APP_IN_THREAD_MODE
You may only run one app when thread limited.
|
static int |
PHONE_HOME_CANT_CONNECT
Can't connect to the phone home server.
|
static int |
PHONE_HOME_INCORRECT_FORMAT
The XML for a phone home request is incorrect.
|
static int |
PHONE_HOME_SERVER_UNHAPPY
The license server is disallowing the report.
|
static int |
PREVIOUS_ERROR
A previous error stopped the system from initializing.
|
static int |
REFUSED_LICENSE_SERVER
For license server.
|
static int |
REVOKED
This license is revoked.
|
static int |
TOO_MANY_CORES
Running on more cores than licensed for
|
static int |
TOO_MANY_MACHINES
Running on more machines than licensed for
|
static int |
TOO_MANY_THREADS
Running on more cores 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_OUTPUT_FORMAT
This license is for a different template type.
|
static int |
WRONG_PRODUCT
This license is for a different product.
|
static int |
WRONG_TEMPLATE
This license is for a different template type.
|
Constructor and Description |
---|
LicenseException(int cause)
Create a LicenseException object.
|
LicenseException(int cause,
java.lang.String message)
Create a LicenseException object.
|
LicenseException(java.lang.String message,
java.lang.Throwable cause,
int type)
Create a LicenseException object.
|
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_CORES
public static final int WRONG_TEMPLATE
public static final int OEM
public static final int PREVIOUS_ERROR
public static final int TOO_MANY_THREADS
public static final int ONE_APP_IN_THREAD_MODE
public static final int FAILED_TO_CONTACT_LICENSE_SERVER
public static final int REFUSED_LICENSE_SERVER
public static final int WRONG_OUTPUT_FORMAT
public static final int PHONE_HOME_INCORRECT_FORMAT
public static final int PHONE_HOME_CANT_CONNECT
public static final int PHONE_HOME_SERVER_UNHAPPY
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.public LicenseException(java.lang.String message, java.lang.Throwable cause, int type)
message
- The message to post with this exception.cause
- The underlying exception.type
- What type of license problem it is.Copyright © 2017 Windward Reports - All Rights Reserved. We are java reporting software