public class LicenceViolationException extends AbortServiceException
| Modifier and Type | Field and Description |
|---|---|
protected int |
code
The internal code that caused this
LicenceViolationException. |
| Constructor and Description |
|---|
LicenceViolationException(int code)
Creates a new
LicenceViolationException caused by the designated
code. |
LicenceViolationException(java.lang.String message,
int code)
Creates a new
LicenceViolationException caused by the designated
code having the designated additional method. |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Gets the code providing information on the cause for this
LicenceViolationException. |
protected final int code
LicenceViolationException.public LicenceViolationException(int code)
LicenceViolationException caused by the designated
code.code - The code providing information on the cause for this
LicenceViolationException.public LicenceViolationException(java.lang.String message,
int code)
LicenceViolationException caused by the designated
code having the designated additional method.message - A message providing additional user information (without any
detailed information on the cause).code - The code providing information on the cause for this
LicenceViolationException.