tcatch.class.php