Use Exception class in Expression\NativeArray