public final class InvalidPolicy extends org.omg.CORBA.UserException implements org.omg.CORBA.portable.IDLEntity, java.io.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(java.lang.String why,
short a_index)
Create the InvalidPolicy with explaining
message and initialisintg
index to the passed value. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Adds
index to the super.getMessage(). |
public short index
public InvalidPolicy()
index with default 0 value.public InvalidPolicy(java.lang.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 java.lang.String getMessage()
index to the super.getMessage().getMessage in class java.lang.Throwable