Search in sources :

Example 1 with InvalidFreeIpaStateException

use of com.sequenceiq.freeipa.client.InvalidFreeIpaStateException in project cloudbreak by hortonworks.

the class FreeIpaClientFactory method createFreeIpaStateIsInvalidException.

private InvalidFreeIpaStateException createFreeIpaStateIsInvalidException(Status stackStatus) {
    String message = String.format("Couldn't build FreeIPA client. Because FreeIPA is in invalid state: '%s'", stackStatus);
    LOGGER.warn(message);
    return new InvalidFreeIpaStateException(message, new FreeIpaHostNotAvailableException(message));
}
Also used : FreeIpaHostNotAvailableException(com.sequenceiq.freeipa.client.FreeIpaHostNotAvailableException) InvalidFreeIpaStateException(com.sequenceiq.freeipa.client.InvalidFreeIpaStateException)

Aggregations

FreeIpaHostNotAvailableException (com.sequenceiq.freeipa.client.FreeIpaHostNotAvailableException)1 InvalidFreeIpaStateException (com.sequenceiq.freeipa.client.InvalidFreeIpaStateException)1