How to exit UVM TB based on Design Display statement

Hi Sue,

We are not using $display in our UVM environment, The $display is part of DUT which we verify.
While simulation is in progress, the DUT’s $display statement gets executed.
I cant change the DUT’s $display statement.
My requirement is that i want to make decision in my UVM Env based on this message.

Thanks,
Vijay