wrong constant

Change METHODNOTFOUND to the correct METHODNOTALLOWED.