org.omg.PortableServer.POAPackage
public final class InvalidPolicy extends UserException implements IDLEntity, Serializable
| Field Summary | |
|---|---|
| short | index
The index in the policies parameter value of the first offending
policy object. |
| Constructor Summary | |
|---|---|
| InvalidPolicy()
Create InvalidPolicy with no explaining
message and leaving {@link #index} with default 0 value. | |
| InvalidPolicy(String why, short a_index)
Create the InvalidPolicy with explaining
message and initialisintg {@link #index} to the passed value.
| |
| InvalidPolicy(short a_index)
Create the InvalidPolicy without explaining
message and initialisintg {@link #index} to the passed value.
| |
| Method Summary | |
|---|---|
| String | getMessage()
Adds {@link #index} to the super.getMessage(). |
Parameters: why a string, explaining, why this exception has been thrown. a_index a value for index.
Parameters: a_index a value for index.