@Override void recordFailure(){
  throw new CircuitBreakerOpenException(String.format("CircuitBreaker '%s' is open",stateMachine.getName()));
}

@ Override void recordFailure ( ) { throw new CircuitBreakerOpenException ( String . format ( "CircuitBreaker '%s' is open" , stateMachine . getName ( ) ) ) ; }
should never be called , because iscallpermitted returns false .
