public final class InvalidPolicy extends UserException implements IDLEntity, Serializable
| Modifier and Type | Field and Description |
|---|---|
short |
index
The index in the policies parameter value of the first offending
policy object.
|
| Constructor and Description |
|---|
InvalidPolicy()
Create InvalidPolicy with no explaining
message and leaving
index with default 0 value. |
InvalidPolicy(short a_index)
Create the InvalidPolicy without explaining
message and initialisintg
index to the passed value. |
InvalidPolicy(String why,
short a_index)
Create the InvalidPolicy with explaining
message and initialisintg
index to the passed value. |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Adds
index to the super.getMessage(). |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic short index
public InvalidPolicy()
index with default 0 value.public InvalidPolicy(String why, short a_index)
index to the passed value.why - a string, explaining, why this exception has been thrown.a_index - a value for index.public InvalidPolicy(short a_index)
index to the passed value.a_index - a value for index.public String getMessage()
index to the super.getMessage().getMessage in class Throwable