Parameterizing a class

In reply to new_to_uvm:

If you need to change the error_string or monitor id, you can change them using

 uvm_config_db #(string) (... 

or you can declare functions like

function set_error_string(string error_string);
function set_id_string(string id_string);