support Task and Exception Class