if (lookupSType(name).get(name) == null) {
mUpdate.addSType(name, type);// , type.getMetadata());
LOG.debug("Registered processing element " + type);
} else {
throw new RegistrationFailedException(name,
new STypeAlreadyExistsException(type));
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}