GateException completed and tested