1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119<!DOCTYPE html>
120<html devsite>
121<head>
122
123
124    <meta name="top_category" value="develop" />
125
126    <meta name="subcategory" value="reference" />
127
128
129      <meta name="book_path" value="/reference/android/support/test/_book.yaml" />
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145<title>UiObjectNotFoundException</title>
146
147
148</head>
149
150<body class="gc-documentation develop reference api apilevel-">
151<div id="doc-api-level" class="" style="display:none"></div>
152
153
154
155
156<div id="naMessage"></div>
157
158<div id="api-info-block">
159<div class="api-level">
160
161
162
163
164</div>
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193<div class="sum-details-links">
194
195Summary:
196
197
198
199
200
201
202
203
204
205  <a href="#pubctors">Ctors</a>
206
207
208
209
210
211
212  &#124; <a href="#inhmethods">Inherited Methods</a>
213
214&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
215
216</div><!-- end sum-details-links -->
217</div><!-- end api-info-block -->
218
219<div class="api apilevel-" id="jd-content">
220
221<!-- ======== START OF CLASS DATA ======== -->
222
223<h1 class="api-title">UiObjectNotFoundException</h1>
224<p>
225<code class="api-signature">
226  public
227
228
229
230  class
231  UiObjectNotFoundException
232</code>
233<br>
234
235
236<code class="api-signature">
237
238
239
240</code>
241
242<code class="api-signature">
243
244
245
246</code>
247
248<code class="api-signature">
249
250    extends Exception
251
252
253
254</code>
255
256<code class="api-signature">
257
258
259
260</code>
261
262</p><table class="jd-inheritance-table">
263
264
265  <tr>
266
267    <td colspan="4" class="jd-inheritance-class-cell">java.lang.Object
268    </td>
269  </tr>
270
271
272  <tr>
273
274      <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
275
276    <td colspan="3" class="jd-inheritance-class-cell">java.lang.Throwable
277    </td>
278  </tr>
279
280
281  <tr>
282
283      <td class="jd-inheritance-space">&nbsp;</td>
284
285      <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
286
287    <td colspan="2" class="jd-inheritance-class-cell">java.lang.Exception
288    </td>
289  </tr>
290
291
292  <tr>
293
294      <td class="jd-inheritance-space">&nbsp;</td>
295
296      <td class="jd-inheritance-space">&nbsp;</td>
297
298      <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
299
300    <td colspan="1" class="jd-inheritance-class-cell">android.support.test.uiautomator.UiObjectNotFoundException
301    </td>
302  </tr>
303
304
305</table>
306
307
308
309
310<br><hr>
311
312
313  <p>Generated in test runs when a <code><a href="/reference/android/support/test/uiautomator/UiSelector.html">UiSelector</a></code> selector could not be matched
314 to any UI element displayed.</p>
315
316
317
318
319
320
321
322<h2 class="api-section">Summary</h2>
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346<!-- ======== CONSTRUCTOR SUMMARY ======== -->
347<table id="pubctors" class="responsive constructors">
348<tr><th colspan="2"><h3>Public constructors</h3></th></tr>
349
350
351
352
353  <tr class="api apilevel-" >
354
355
356    <td width="100%">
357      <code>
358      <a href="/reference/android/support/test/uiautomator/UiObjectNotFoundException.html#UiObjectNotFoundException(java.lang.String)">UiObjectNotFoundException</a>(String msg)
359      </code>
360
361    </td>
362  </tr>
363
364
365
366  <tr class="api apilevel-" >
367
368
369    <td width="100%">
370      <code>
371      <a href="/reference/android/support/test/uiautomator/UiObjectNotFoundException.html#UiObjectNotFoundException(java.lang.String, java.lang.Throwable)">UiObjectNotFoundException</a>(String detailMessage, Throwable throwable)
372      </code>
373
374    </td>
375  </tr>
376
377
378
379  <tr class="api apilevel-" >
380
381
382    <td width="100%">
383      <code>
384      <a href="/reference/android/support/test/uiautomator/UiObjectNotFoundException.html#UiObjectNotFoundException(java.lang.Throwable)">UiObjectNotFoundException</a>(Throwable throwable)
385      </code>
386
387    </td>
388  </tr>
389
390
391
392</table>
393
394
395
396
397
398
399
400
401
402
403
404<!-- ========== METHOD SUMMARY =========== -->
405<table id="inhmethods" class="methods inhtable">
406<tr><th><h3>Inherited methods</h3></th></tr>
407
408
409
410
411<tr class="api apilevel-" >
412<td colspan="2">
413
414  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Throwable" class="jd-expando-trigger closed"
415          ><img height="34" id="inherited-methods-java.lang.Throwable-trigger"
416          src="/assets/images/styles/disclosure_down.png"
417          class="jd-expando-trigger-img" /></a>From
418class
419<code>
420
421    java.lang.Throwable
422
423</code>
424<div id="inherited-methods-java.lang.Throwable">
425  <div id="inherited-methods-java.lang.Throwable-list"
426        class="jd-inheritedlinks">
427  </div>
428  <div id="inherited-methods-java.lang.Throwable-summary" style="display: none;">
429    <table class="jd-sumtable-expando responsive">
430
431
432
433
434  <tr class="api apilevel-" >
435
436
437    <td><code>
438
439
440
441        final
442
443        void</code>
444    </td>
445
446    <td width="100%">
447      <code>
448      addSuppressed(Throwable arg0)
449      </code>
450
451    </td>
452  </tr>
453
454
455
456  <tr class="api apilevel-" >
457
458
459    <td><code>
460
461
462
463
464
465        Throwable</code>
466    </td>
467
468    <td width="100%">
469      <code>
470      fillInStackTrace()
471      </code>
472
473    </td>
474  </tr>
475
476
477
478  <tr class="api apilevel-" >
479
480
481    <td><code>
482
483
484
485
486
487        Throwable</code>
488    </td>
489
490    <td width="100%">
491      <code>
492      getCause()
493      </code>
494
495    </td>
496  </tr>
497
498
499
500  <tr class="api apilevel-" >
501
502
503    <td><code>
504
505
506
507
508
509        String</code>
510    </td>
511
512    <td width="100%">
513      <code>
514      getLocalizedMessage()
515      </code>
516
517    </td>
518  </tr>
519
520
521
522  <tr class="api apilevel-" >
523
524
525    <td><code>
526
527
528
529
530
531        String</code>
532    </td>
533
534    <td width="100%">
535      <code>
536      getMessage()
537      </code>
538
539    </td>
540  </tr>
541
542
543
544  <tr class="api apilevel-" >
545
546
547    <td><code>
548
549
550
551
552
553        StackTraceElement[]</code>
554    </td>
555
556    <td width="100%">
557      <code>
558      getStackTrace()
559      </code>
560
561    </td>
562  </tr>
563
564
565
566  <tr class="api apilevel-" >
567
568
569    <td><code>
570
571
572
573        final
574
575        Throwable[]</code>
576    </td>
577
578    <td width="100%">
579      <code>
580      getSuppressed()
581      </code>
582
583    </td>
584  </tr>
585
586
587
588  <tr class="api apilevel-" >
589
590
591    <td><code>
592
593
594
595
596
597        Throwable</code>
598    </td>
599
600    <td width="100%">
601      <code>
602      initCause(Throwable arg0)
603      </code>
604
605    </td>
606  </tr>
607
608
609
610  <tr class="api apilevel-" >
611
612
613    <td><code>
614
615
616
617
618
619        void</code>
620    </td>
621
622    <td width="100%">
623      <code>
624      printStackTrace()
625      </code>
626
627    </td>
628  </tr>
629
630
631
632  <tr class="api apilevel-" >
633
634
635    <td><code>
636
637
638
639
640
641        void</code>
642    </td>
643
644    <td width="100%">
645      <code>
646      printStackTrace(PrintWriter arg0)
647      </code>
648
649    </td>
650  </tr>
651
652
653
654  <tr class="api apilevel-" >
655
656
657    <td><code>
658
659
660
661
662
663        void</code>
664    </td>
665
666    <td width="100%">
667      <code>
668      printStackTrace(PrintStream arg0)
669      </code>
670
671    </td>
672  </tr>
673
674
675
676  <tr class="api apilevel-" >
677
678
679    <td><code>
680
681
682
683
684
685        void</code>
686    </td>
687
688    <td width="100%">
689      <code>
690      setStackTrace(StackTraceElement[] arg0)
691      </code>
692
693    </td>
694  </tr>
695
696
697
698  <tr class="api apilevel-" >
699
700
701    <td><code>
702
703
704
705
706
707        String</code>
708    </td>
709
710    <td width="100%">
711      <code>
712      toString()
713      </code>
714
715    </td>
716  </tr>
717
718
719
720    </table>
721  </div>
722</div>
723</td></tr>
724
725
726
727<tr class="api apilevel-" >
728<td colspan="2">
729
730  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
731          ><img height="34" id="inherited-methods-java.lang.Object-trigger"
732          src="/assets/images/styles/disclosure_down.png"
733          class="jd-expando-trigger-img" /></a>From
734class
735<code>
736
737    java.lang.Object
738
739</code>
740<div id="inherited-methods-java.lang.Object">
741  <div id="inherited-methods-java.lang.Object-list"
742        class="jd-inheritedlinks">
743  </div>
744  <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
745    <table class="jd-sumtable-expando responsive">
746
747
748
749
750  <tr class="api apilevel-" >
751
752
753    <td><code>
754
755
756
757
758
759        Object</code>
760    </td>
761
762    <td width="100%">
763      <code>
764      clone()
765      </code>
766
767    </td>
768  </tr>
769
770
771
772  <tr class="api apilevel-" >
773
774
775    <td><code>
776
777
778
779
780
781        boolean</code>
782    </td>
783
784    <td width="100%">
785      <code>
786      equals(Object arg0)
787      </code>
788
789    </td>
790  </tr>
791
792
793
794  <tr class="api apilevel-" >
795
796
797    <td><code>
798
799
800
801
802
803        void</code>
804    </td>
805
806    <td width="100%">
807      <code>
808      finalize()
809      </code>
810
811    </td>
812  </tr>
813
814
815
816  <tr class="api apilevel-" >
817
818
819    <td><code>
820
821
822
823        final
824
825        Class&lt;?&gt;</code>
826    </td>
827
828    <td width="100%">
829      <code>
830      getClass()
831      </code>
832
833    </td>
834  </tr>
835
836
837
838  <tr class="api apilevel-" >
839
840
841    <td><code>
842
843
844
845
846
847        int</code>
848    </td>
849
850    <td width="100%">
851      <code>
852      hashCode()
853      </code>
854
855    </td>
856  </tr>
857
858
859
860  <tr class="api apilevel-" >
861
862
863    <td><code>
864
865
866
867        final
868
869        void</code>
870    </td>
871
872    <td width="100%">
873      <code>
874      notify()
875      </code>
876
877    </td>
878  </tr>
879
880
881
882  <tr class="api apilevel-" >
883
884
885    <td><code>
886
887
888
889        final
890
891        void</code>
892    </td>
893
894    <td width="100%">
895      <code>
896      notifyAll()
897      </code>
898
899    </td>
900  </tr>
901
902
903
904  <tr class="api apilevel-" >
905
906
907    <td><code>
908
909
910
911
912
913        String</code>
914    </td>
915
916    <td width="100%">
917      <code>
918      toString()
919      </code>
920
921    </td>
922  </tr>
923
924
925
926  <tr class="api apilevel-" >
927
928
929    <td><code>
930
931
932
933        final
934
935        void</code>
936    </td>
937
938    <td width="100%">
939      <code>
940      wait(long arg0, int arg1)
941      </code>
942
943    </td>
944  </tr>
945
946
947
948  <tr class="api apilevel-" >
949
950
951    <td><code>
952
953
954
955        final
956
957        void</code>
958    </td>
959
960    <td width="100%">
961      <code>
962      wait(long arg0)
963      </code>
964
965    </td>
966  </tr>
967
968
969
970  <tr class="api apilevel-" >
971
972
973    <td><code>
974
975
976
977        final
978
979        void</code>
980    </td>
981
982    <td width="100%">
983      <code>
984      wait()
985      </code>
986
987    </td>
988  </tr>
989
990
991
992    </table>
993  </div>
994</div>
995</td></tr>
996
997
998
999
1000</table>
1001
1002
1003
1004<!-- XML Attributes -->
1005
1006
1007<!-- Enum Values -->
1008
1009
1010<!-- Constants -->
1011
1012
1013<!-- Fields -->
1014
1015
1016<!-- Public ctors -->
1017
1018
1019<!-- ========= CONSTRUCTOR DETAIL ======== -->
1020<h2 class="api-section">Public constructors</h2>
1021
1022
1023
1024<A NAME="UiObjectNotFoundException(java.lang.String)"></A>
1025
1026<div class="api apilevel-">
1027    <h3 class="api-name">UiObjectNotFoundException</h3>
1028    <div class="api-level">
1029      <div></div>
1030
1031
1032
1033    </div>
1034<pre class="api-signature no-pretty-print">
1035UiObjectNotFoundException (String msg)</pre>
1036
1037
1038
1039
1040  <p></p>
1041
1042    <table class="responsive">
1043    <tr><th colspan=2>Parameters</th></tr>
1044      <tr>
1045        <td><code>msg</code></td>
1046        <td width="100%">
1047          <code>String</code>
1048          <!-- no parameter comment --></td>
1049      </tr>
1050    </table>
1051
1052</div>
1053
1054
1055<A NAME="UiObjectNotFoundException(java.lang.String, java.lang.Throwable)"></A>
1056
1057<div class="api apilevel-">
1058    <h3 class="api-name">UiObjectNotFoundException</h3>
1059    <div class="api-level">
1060      <div></div>
1061
1062
1063
1064    </div>
1065<pre class="api-signature no-pretty-print">
1066UiObjectNotFoundException (String detailMessage,
1067                Throwable throwable)</pre>
1068
1069
1070
1071
1072  <p></p>
1073
1074    <table class="responsive">
1075    <tr><th colspan=2>Parameters</th></tr>
1076      <tr>
1077        <td><code>detailMessage</code></td>
1078        <td width="100%">
1079          <code>String</code>
1080          <!-- no parameter comment --></td>
1081      </tr>
1082      <tr>
1083        <td><code>throwable</code></td>
1084        <td width="100%">
1085          <code>Throwable</code>
1086          <!-- no parameter comment --></td>
1087      </tr>
1088    </table>
1089
1090</div>
1091
1092
1093<A NAME="UiObjectNotFoundException(java.lang.Throwable)"></A>
1094
1095<div class="api apilevel-">
1096    <h3 class="api-name">UiObjectNotFoundException</h3>
1097    <div class="api-level">
1098      <div></div>
1099
1100
1101
1102    </div>
1103<pre class="api-signature no-pretty-print">
1104UiObjectNotFoundException (Throwable throwable)</pre>
1105
1106
1107
1108
1109  <p></p>
1110
1111    <table class="responsive">
1112    <tr><th colspan=2>Parameters</th></tr>
1113      <tr>
1114        <td><code>throwable</code></td>
1115        <td width="100%">
1116          <code>Throwable</code>
1117          <!-- no parameter comment --></td>
1118      </tr>
1119    </table>
1120
1121</div>
1122
1123
1124
1125
1126
1127<!-- ========= CONSTRUCTOR DETAIL ======== -->
1128<!-- Protected ctors -->
1129
1130
1131
1132<!-- ========= METHOD DETAIL ======== -->
1133<!-- Public methdos -->
1134
1135
1136
1137<!-- ========= METHOD DETAIL ======== -->
1138
1139
1140
1141<!-- ========= END OF CLASS DATA ========= -->
1142
1143</div><!-- end jd-content -->
1144
1145
1146
1147<div class="data-reference-resources-wrapper">
1148
1149  <ul data-reference-resources>
1150
1151
1152    <li><h2>Interfaces</h2>
1153      <ul>
1154          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/IAutomationSupport.html">IAutomationSupport</a></li>
1155          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiWatcher.html">UiWatcher</a></li>
1156      </ul>
1157    </li>
1158
1159    <li><h2>Classes</h2>
1160      <ul>
1161          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/By.html">By</a></li>
1162          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/BySelector.html">BySelector</a></li>
1163          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/Configurator.html">Configurator</a></li>
1164          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/EventCondition.html">EventCondition</a></li>
1165          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/SearchCondition.html">SearchCondition</a></li>
1166          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiAutomatorInstrumentationTestRunner.html">UiAutomatorInstrumentationTestRunner</a></li>
1167          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiAutomatorTestCase.html">UiAutomatorTestCase</a></li>
1168          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiCollection.html">UiCollection</a></li>
1169          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiDevice.html">UiDevice</a></li>
1170          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiObject.html">UiObject</a></li>
1171          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiObject2.html">UiObject2</a></li>
1172          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiObject2Condition.html">UiObject2Condition</a></li>
1173          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiScrollable.html">UiScrollable</a></li>
1174          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/UiSelector.html">UiSelector</a></li>
1175          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/Until.html">Until</a></li>
1176      </ul>
1177    </li>
1178
1179    <li><h2>Enums</h2>
1180      <ul>
1181          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/Direction.html">Direction</a></li>
1182      </ul>
1183    </li>
1184
1185    <li><h2>Exceptions</h2>
1186      <ul>
1187          <li class="api apilevel-"><a href="/reference/android/support/test/uiautomator/StaleObjectException.html">StaleObjectException</a></li>
1188          <li class="selected api apilevel-"><a href="/reference/android/support/test/uiautomator/UiObjectNotFoundException.html">UiObjectNotFoundException</a></li>
1189      </ul>
1190    </li>
1191
1192  </ul>
1193
1194</div>
1195
1196
1197
1198</body>
1199</html>
1200