throw exception if decorator not found