if (version == null)
throw new FatalErrorException("A UDDI generic attribute " +
"value was not found for UDDI request: "+operation+" (The " +
"'generic' attribute must be present)");
else if (!version.equals(IRegistry.UDDI_V2_GENERIC))
throw new UnsupportedException("Only UDDI v2 " +
"requests are currently supported. The generic attribute value " +
"received was: "+version);
if ((operation == null) || (operation.trim().length() == 0))
throw new FatalErrorException("The UDDI service operation " +
"could not be identified.");
else if (!operations.contains(operation.toLowerCase()))
throw new UnsupportedException("The operation "+operation+" is not " +
"supported by the UDDI version 2 Inquiry API.");
}