code: public static OnWorkspaceInconsistency fromString(String name) throws IllegalArgumentException
     {
        OnWorkspaceInconsistency handler = INSTANCES.get(name.toLowerCase());
        if (handler == null)
        {
           throw new IllegalArgumentException("Unknown name: " + name);
        }
        else
        {
           return handler;
        }
     }
docs: Returns the {@link OnWorkspaceInconsistency} with the given
  <code>name</code>.
  
  @param name the name of a {@link OnWorkspaceInconsistency}.
  @return the {@link OnWorkspaceInconsistency} with the given
  <code>name</code>.
  @throws IllegalArgumentException if <code>name</code> is not a well-known
  {@link OnWorkspaceInconsistency} name.