org.omg.PortableInterceptor.ORBInitInfoPackage

Class DuplicateName

public final class DuplicateName extends UserException implements IDLEntity, Serializable

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

See Also:

Field Summary
Stringname
The name that appears to be duplicate.
Constructor Summary
DuplicateName()
Create DuplicateName with no explaining message field {@link #name} initialised to null.
DuplicateName(String why, String a_name)
Create the DuplicateName with explaining message and field {@link #name} initialised to the given value.
DuplicateName(String a_name)
Create the DuplicateName without explaining message and and field {@link #name} initialised to the given value.

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 {@link #name} initialised to null.

DuplicateName

public DuplicateName(String why, String a_name)
Create the DuplicateName with explaining message and field {@link #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 {@link #name} initialised to the given value.

Parameters: a_name a value for name.