[added] additional errormessage in case the appclass doesn't exist. (hey richard)