operator/src/main/java/oracle/kubernetes/operator/DomainStatusUpdater.java
public static Step createFailedStep(CallResponse<?> callResponse, Step next) {
    FailureStatusSource failure = UnrecoverableErrorBuilder.fromFailedCall(callResponse);

    LOGGER.severe(MessageKeys.CALL_FAILED, failure.getMessage(), failure.getReason());
    ApiException apiException = callResponse.getE();
    if (apiException != null) {
      LOGGER.fine(MessageKeys.EXCEPTION, apiException);
    }

    return createFailedStep(failure.getReason(), failure.getMessage(), next);
  }
/**
   * Asynchronous step to set Domain condition to Failed after an asynchronous call failure.
   *
   * @param callResponse the response from an unrecoverable call
   * @param next Next step
   * @return Step
   */
Asynchronous step to set Domain condition to Failed after an asynchronous call failure.
@param callResponse the response from an unrecoverable call
@param next Next step
@return Step
Asynchronous step to set Domain condition to Failed after an asynchronous call failure . @param callResponse the response from an unrecoverable call @param next Next step @return Step
public static Step createFailedStep(CallResponse<?> callResponse, Step next) {
    FailureStatusSource failure = UnrecoverableErrorBuilder.fromFailedCall(callResponse);
    LOGGER.severe(MessageKeys.CALL_FAILED, failure.getMessage(), failure.getReason());
    ApiException apiException = callResponse.getE();
    if (apiException != null) {
      LOGGER.fine(MessageKeys.EXCEPTION, apiException);
    }
    return createFailedStep(failure.getReason(), failure.getMessage(), next);
  }
public static Step createFailedStep ( CallResponse < ? > callResponse , Step next ) { FailureStatusSource failure = UnrecoverableErrorBuilder . fromFailedCall ( callResponse ) ; LOGGER . severe ( MessageKeys . CALL_FAILED , failure . getMessage ( ) , failure . getReason ( ) ) ; ApiException apiException = callResponse . getE ( ) ; if ( apiException != null ) { LOGGER . fine ( MessageKeys . EXCEPTION , apiException ) ; } return createFailedStep ( failure . getReason ( ) , failure . getMessage ( ) , next ) ; }
Asynchronous step to set Domain condition to Failed after an asynchronous call failure.
Asynchronous step to set Domain condition to Failed after an asynchronous call failure .