{
if ((protocol == null) || (className == null))
throw new IllegalArgumentException();
if (present(protocol))
throw new ProtocolAlreadyRegisteredException();
else
{
ProtocolEntry e = new ProtocolEntry(protocol, className);
Vector impls = (Vector) _protocols.get(e.protocolType());