public abstract class LicenseException extends DeltaXMLProcessingException
This class groups all of the licensing related exceptions together. It may be appropriate to catch these as a group and handle
them differently from other DeltaXMLProcessingException
subclasses.
In certain cases, such as using an enterprise license without an expiration, cpu or capacity limits then after initial testing it is possible that no exceptions can be expected and it may be possible to ignore these exceptions. However, we would recommend coding defensively for different license types and handling a number of the subtypes appropriately.
Constructor and Description |
---|
LicenseException(java.lang.String message,
int errorCode,
FailureSeverity severity)
Create a new LicenseException.
|
LicenseException(java.lang.String message,
java.lang.Throwable cause,
int errorCode,
FailureSeverity severity)
Create a new LicenseException with a nested cause.
|
getErrorCode, getSeverity
getCause, getThrowable
public LicenseException(java.lang.String message, int errorCode, FailureSeverity severity)
message
- the message to be reportederrorCode
- the errorCode used to enumerate all exceptions in this packageseverity
- the severity levelpublic LicenseException(java.lang.String message, java.lang.Throwable cause, int errorCode, FailureSeverity severity)
message
- the message to be reportedcause
- the nested causeerrorCode
- the errorCode used to enumerate all exceptions in this packageseverity
- the severity level