removed exception constructor which caused problems with java <7