added user defined exception handling for GTC class