Added ArgumentException
Fixed Error in Compilation