Merge classes TaskErrorException,TaskWarningException in TaskException