added AbstractMethod error type