class BoltStateMachineV1 implements BoltStateMachine {

    @Override
    public void handleExternalFailure( Neo4jError error, BoltResponseHandler handler ) throws BoltConnectionFatality
    {
        before( handler );
        try
        {
            if ( connectionState.canProcessMessage() )
            {
                fail( error );
                state = failedState;
            }
        }
        finally
        {
            after();
        }
    }

    public  BoltStateMachineV1( BoltStateMachineSPI spi, BoltChannel boltChannel, Clock clock );

}