org.omg.PortableInterceptor.ORBInitInfoPackage
Class DuplicateName

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.omg.CORBA.UserException
              extended by org.omg.PortableInterceptor.ORBInitInfoPackage.DuplicateName
All Implemented Interfaces:
Serializable, IDLEntity

public final class DuplicateName
extends UserException
implements IDLEntity, Serializable

This exception is raised on an attempt to register a second org.omg.PortableInterceptor with the same name. For each org.omg.PortableInterceptor type, only one org.omg.PortableInterceptor of a given name can be registered with the ORB.

See Also:
ORBInitInfoOperations, Serialized Form

Field Summary
 String name
          The name that appears to be duplicate.
 
Constructor Summary
DuplicateName()
          Create DuplicateName with no explaining message field name initialised to null.
DuplicateName(String a_name)
          Create the DuplicateName without explaining message and and field name initialised to the given value.
DuplicateName(String why, String a_name)
          Create the DuplicateName with explaining message and field name initialised to the given value.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

name

public String name
The name that appears to be duplicate.

Constructor Detail

DuplicateName

public DuplicateName()
Create DuplicateName with no explaining message field name initialised to null.


DuplicateName

public DuplicateName(String why,
                     String a_name)
Create the DuplicateName with explaining message and field name initialised to the given value.

Parameters:
why - a string, explaining, why this exception has been thrown.
a_name - a value for name.

DuplicateName

public DuplicateName(String a_name)
Create the DuplicateName without explaining message and and field name initialised to the given value.

Parameters:
a_name - a value for name.