public static HostNotRegisteredException forHostId(Long hostId) {
    return new HostNotRegisteredException(String.format("Host with hostId '%s' not registered", hostId));
  }
Thrown when an attempt is made to retrieve host not registered in cluster.
ambari-server/src/main/java/org/apache/ambari/server/HostNotRegisteredException.java