|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
org.omg.PortableServer.POAPackage.InvalidPolicy
public final class InvalidPolicy
Raised if any of the policy objects specified is not supported by this ORB implementation, if conflicting policy objects are specified, or if any of the specified policy objects require prior administrative action that has not been performed.
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 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. |
Method Summary | |
---|---|
String |
getMessage()
Adds index to the super.getMessage(). |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public short index
Constructor Detail |
---|
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.Method Detail |
---|
public String getMessage()
index
to the super.getMessage().
getMessage
in class Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |