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>InjectEventSecurityException</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 194 195 196 197 198<div class="sum-details-links"> 199 200Summary: 201 202 203 204 205 206 207 208 209 210 <a href="#pubctors">Ctors</a> 211 212 213 214 215 216 217 | <a href="#inhmethods">Inherited Methods</a> 218 219| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 220 221</div><!-- end sum-details-links --> 222</div><!-- end api-info-block --> 223 224<div class="api apilevel-" id="jd-content"> 225 226<!-- ======== START OF CLASS DATA ======== --> 227 228<h1 class="api-title">InjectEventSecurityException</h1> 229<p> 230<code class="api-signature"> 231 public 232 233 final 234 235 class 236 InjectEventSecurityException 237</code> 238<br> 239 240 241<code class="api-signature"> 242 243 244 245</code> 246 247<code class="api-signature"> 248 249 250 251</code> 252 253<code class="api-signature"> 254 255 extends Exception 256 257 258 259</code> 260 261<code class="api-signature"> 262 263 264 implements 265 266 <a href="/reference/android/support/test/espresso/EspressoException.html">EspressoException</a> 267 268 269 270</code> 271 272</p><table class="jd-inheritance-table"> 273 274 275 <tr> 276 277 <td colspan="4" class="jd-inheritance-class-cell">java.lang.Object 278 </td> 279 </tr> 280 281 282 <tr> 283 284 <td class="jd-inheritance-space"> ↳</td> 285 286 <td colspan="3" class="jd-inheritance-class-cell">java.lang.Throwable 287 </td> 288 </tr> 289 290 291 <tr> 292 293 <td class="jd-inheritance-space"> </td> 294 295 <td class="jd-inheritance-space"> ↳</td> 296 297 <td colspan="2" class="jd-inheritance-class-cell">java.lang.Exception 298 </td> 299 </tr> 300 301 302 <tr> 303 304 <td class="jd-inheritance-space"> </td> 305 306 <td class="jd-inheritance-space"> </td> 307 308 <td class="jd-inheritance-space"> ↳</td> 309 310 <td colspan="1" class="jd-inheritance-class-cell">android.support.test.espresso.InjectEventSecurityException 311 </td> 312 </tr> 313 314 315</table> 316 317 318 319 320<br><hr> 321 322 323 <p>An checked <code><a href="/reference/java/lang/Exception.html">Exception</a></code> indicating that event injection failed with a 324 <code><a href="/reference/java/lang/SecurityException.html">SecurityException</a></code>. 325</p> 326 327 328 329 330 331 332 333<h2 class="api-section">Summary</h2> 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357<!-- ======== CONSTRUCTOR SUMMARY ======== --> 358<table id="pubctors" class="responsive constructors"> 359<tr><th colspan="2"><h3>Public constructors</h3></th></tr> 360 361 362 363 364 <tr class="api apilevel-" > 365 366 367 <td width="100%"> 368 <code> 369 <a href="/reference/android/support/test/espresso/InjectEventSecurityException.html#InjectEventSecurityException(java.lang.String)">InjectEventSecurityException</a>(String message) 370 </code> 371 372 </td> 373 </tr> 374 375 376 377 <tr class="api apilevel-" > 378 379 380 <td width="100%"> 381 <code> 382 <a href="/reference/android/support/test/espresso/InjectEventSecurityException.html#InjectEventSecurityException(java.lang.Throwable)">InjectEventSecurityException</a>(Throwable cause) 383 </code> 384 385 </td> 386 </tr> 387 388 389 390 <tr class="api apilevel-" > 391 392 393 <td width="100%"> 394 <code> 395 <a href="/reference/android/support/test/espresso/InjectEventSecurityException.html#InjectEventSecurityException(java.lang.String, java.lang.Throwable)">InjectEventSecurityException</a>(String message, Throwable cause) 396 </code> 397 398 </td> 399 </tr> 400 401 402 403</table> 404 405 406 407 408 409 410 411 412 413 414 415<!-- ========== METHOD SUMMARY =========== --> 416<table id="inhmethods" class="methods inhtable"> 417<tr><th><h3>Inherited methods</h3></th></tr> 418 419 420 421 422<tr class="api apilevel-" > 423<td colspan="2"> 424 425 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Throwable" class="jd-expando-trigger closed" 426 ><img height="34" id="inherited-methods-java.lang.Throwable-trigger" 427 src="/assets/images/styles/disclosure_down.png" 428 class="jd-expando-trigger-img" /></a>From 429class 430<code> 431 432 java.lang.Throwable 433 434</code> 435<div id="inherited-methods-java.lang.Throwable"> 436 <div id="inherited-methods-java.lang.Throwable-list" 437 class="jd-inheritedlinks"> 438 </div> 439 <div id="inherited-methods-java.lang.Throwable-summary" style="display: none;"> 440 <table class="jd-sumtable-expando responsive"> 441 442 443 444 445 <tr class="api apilevel-" > 446 447 448 <td><code> 449 450 451 452 final 453 454 void</code> 455 </td> 456 457 <td width="100%"> 458 <code> 459 addSuppressed(Throwable arg0) 460 </code> 461 462 </td> 463 </tr> 464 465 466 467 <tr class="api apilevel-" > 468 469 470 <td><code> 471 472 473 474 475 476 Throwable</code> 477 </td> 478 479 <td width="100%"> 480 <code> 481 fillInStackTrace() 482 </code> 483 484 </td> 485 </tr> 486 487 488 489 <tr class="api apilevel-" > 490 491 492 <td><code> 493 494 495 496 497 498 Throwable</code> 499 </td> 500 501 <td width="100%"> 502 <code> 503 getCause() 504 </code> 505 506 </td> 507 </tr> 508 509 510 511 <tr class="api apilevel-" > 512 513 514 <td><code> 515 516 517 518 519 520 String</code> 521 </td> 522 523 <td width="100%"> 524 <code> 525 getLocalizedMessage() 526 </code> 527 528 </td> 529 </tr> 530 531 532 533 <tr class="api apilevel-" > 534 535 536 <td><code> 537 538 539 540 541 542 String</code> 543 </td> 544 545 <td width="100%"> 546 <code> 547 getMessage() 548 </code> 549 550 </td> 551 </tr> 552 553 554 555 <tr class="api apilevel-" > 556 557 558 <td><code> 559 560 561 562 563 564 StackTraceElement[]</code> 565 </td> 566 567 <td width="100%"> 568 <code> 569 getStackTrace() 570 </code> 571 572 </td> 573 </tr> 574 575 576 577 <tr class="api apilevel-" > 578 579 580 <td><code> 581 582 583 584 final 585 586 Throwable[]</code> 587 </td> 588 589 <td width="100%"> 590 <code> 591 getSuppressed() 592 </code> 593 594 </td> 595 </tr> 596 597 598 599 <tr class="api apilevel-" > 600 601 602 <td><code> 603 604 605 606 607 608 Throwable</code> 609 </td> 610 611 <td width="100%"> 612 <code> 613 initCause(Throwable arg0) 614 </code> 615 616 </td> 617 </tr> 618 619 620 621 <tr class="api apilevel-" > 622 623 624 <td><code> 625 626 627 628 629 630 void</code> 631 </td> 632 633 <td width="100%"> 634 <code> 635 printStackTrace() 636 </code> 637 638 </td> 639 </tr> 640 641 642 643 <tr class="api apilevel-" > 644 645 646 <td><code> 647 648 649 650 651 652 void</code> 653 </td> 654 655 <td width="100%"> 656 <code> 657 printStackTrace(PrintWriter arg0) 658 </code> 659 660 </td> 661 </tr> 662 663 664 665 <tr class="api apilevel-" > 666 667 668 <td><code> 669 670 671 672 673 674 void</code> 675 </td> 676 677 <td width="100%"> 678 <code> 679 printStackTrace(PrintStream arg0) 680 </code> 681 682 </td> 683 </tr> 684 685 686 687 <tr class="api apilevel-" > 688 689 690 <td><code> 691 692 693 694 695 696 void</code> 697 </td> 698 699 <td width="100%"> 700 <code> 701 setStackTrace(StackTraceElement[] arg0) 702 </code> 703 704 </td> 705 </tr> 706 707 708 709 <tr class="api apilevel-" > 710 711 712 <td><code> 713 714 715 716 717 718 String</code> 719 </td> 720 721 <td width="100%"> 722 <code> 723 toString() 724 </code> 725 726 </td> 727 </tr> 728 729 730 731 </table> 732 </div> 733</div> 734</td></tr> 735 736 737 738<tr class="api apilevel-" > 739<td colspan="2"> 740 741 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" 742 ><img height="34" id="inherited-methods-java.lang.Object-trigger" 743 src="/assets/images/styles/disclosure_down.png" 744 class="jd-expando-trigger-img" /></a>From 745class 746<code> 747 748 java.lang.Object 749 750</code> 751<div id="inherited-methods-java.lang.Object"> 752 <div id="inherited-methods-java.lang.Object-list" 753 class="jd-inheritedlinks"> 754 </div> 755 <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> 756 <table class="jd-sumtable-expando responsive"> 757 758 759 760 761 <tr class="api apilevel-" > 762 763 764 <td><code> 765 766 767 768 769 770 Object</code> 771 </td> 772 773 <td width="100%"> 774 <code> 775 clone() 776 </code> 777 778 </td> 779 </tr> 780 781 782 783 <tr class="api apilevel-" > 784 785 786 <td><code> 787 788 789 790 791 792 boolean</code> 793 </td> 794 795 <td width="100%"> 796 <code> 797 equals(Object arg0) 798 </code> 799 800 </td> 801 </tr> 802 803 804 805 <tr class="api apilevel-" > 806 807 808 <td><code> 809 810 811 812 813 814 void</code> 815 </td> 816 817 <td width="100%"> 818 <code> 819 finalize() 820 </code> 821 822 </td> 823 </tr> 824 825 826 827 <tr class="api apilevel-" > 828 829 830 <td><code> 831 832 833 834 final 835 836 Class<?></code> 837 </td> 838 839 <td width="100%"> 840 <code> 841 getClass() 842 </code> 843 844 </td> 845 </tr> 846 847 848 849 <tr class="api apilevel-" > 850 851 852 <td><code> 853 854 855 856 857 858 int</code> 859 </td> 860 861 <td width="100%"> 862 <code> 863 hashCode() 864 </code> 865 866 </td> 867 </tr> 868 869 870 871 <tr class="api apilevel-" > 872 873 874 <td><code> 875 876 877 878 final 879 880 void</code> 881 </td> 882 883 <td width="100%"> 884 <code> 885 notify() 886 </code> 887 888 </td> 889 </tr> 890 891 892 893 <tr class="api apilevel-" > 894 895 896 <td><code> 897 898 899 900 final 901 902 void</code> 903 </td> 904 905 <td width="100%"> 906 <code> 907 notifyAll() 908 </code> 909 910 </td> 911 </tr> 912 913 914 915 <tr class="api apilevel-" > 916 917 918 <td><code> 919 920 921 922 923 924 String</code> 925 </td> 926 927 <td width="100%"> 928 <code> 929 toString() 930 </code> 931 932 </td> 933 </tr> 934 935 936 937 <tr class="api apilevel-" > 938 939 940 <td><code> 941 942 943 944 final 945 946 void</code> 947 </td> 948 949 <td width="100%"> 950 <code> 951 wait(long arg0, int arg1) 952 </code> 953 954 </td> 955 </tr> 956 957 958 959 <tr class="api apilevel-" > 960 961 962 <td><code> 963 964 965 966 final 967 968 void</code> 969 </td> 970 971 <td width="100%"> 972 <code> 973 wait(long arg0) 974 </code> 975 976 </td> 977 </tr> 978 979 980 981 <tr class="api apilevel-" > 982 983 984 <td><code> 985 986 987 988 final 989 990 void</code> 991 </td> 992 993 <td width="100%"> 994 <code> 995 wait() 996 </code> 997 998 </td> 999 </tr> 1000 1001 1002 1003 </table> 1004 </div> 1005</div> 1006</td></tr> 1007 1008 1009 1010 1011 1012 1013</table> 1014 1015 1016 1017<!-- XML Attributes --> 1018 1019 1020<!-- Enum Values --> 1021 1022 1023<!-- Constants --> 1024 1025 1026<!-- Fields --> 1027 1028 1029<!-- Public ctors --> 1030 1031 1032<!-- ========= CONSTRUCTOR DETAIL ======== --> 1033<h2 class="api-section">Public constructors</h2> 1034 1035 1036 1037<A NAME="InjectEventSecurityException(java.lang.String)"></A> 1038 1039<div class="api apilevel-"> 1040 <h3 class="api-name">InjectEventSecurityException</h3> 1041 <div class="api-level"> 1042 <div></div> 1043 1044 1045 1046 </div> 1047<pre class="api-signature no-pretty-print"> 1048InjectEventSecurityException (String message)</pre> 1049 1050 1051 1052 1053 <p></p> 1054 <table class="responsive"> 1055 <tr><th colspan=2>Parameters</th></tr> 1056 <tr> 1057 <td><code>message</code></td> 1058 <td width="100%"> 1059 <code>String</code> 1060 <!-- no parameter comment --></td> 1061 </tr> 1062 </table> 1063 1064</div> 1065 1066 1067<A NAME="InjectEventSecurityException(java.lang.Throwable)"></A> 1068 1069<div class="api apilevel-"> 1070 <h3 class="api-name">InjectEventSecurityException</h3> 1071 <div class="api-level"> 1072 <div></div> 1073 1074 1075 1076 </div> 1077<pre class="api-signature no-pretty-print"> 1078InjectEventSecurityException (Throwable cause)</pre> 1079 1080 1081 1082 1083 <p></p> 1084 <table class="responsive"> 1085 <tr><th colspan=2>Parameters</th></tr> 1086 <tr> 1087 <td><code>cause</code></td> 1088 <td width="100%"> 1089 <code>Throwable</code> 1090 <!-- no parameter comment --></td> 1091 </tr> 1092 </table> 1093 1094</div> 1095 1096 1097<A NAME="InjectEventSecurityException(java.lang.String, java.lang.Throwable)"></A> 1098 1099<div class="api apilevel-"> 1100 <h3 class="api-name">InjectEventSecurityException</h3> 1101 <div class="api-level"> 1102 <div></div> 1103 1104 1105 1106 </div> 1107<pre class="api-signature no-pretty-print"> 1108InjectEventSecurityException (String message, 1109 Throwable cause)</pre> 1110 1111 1112 1113 1114 <p></p> 1115 <table class="responsive"> 1116 <tr><th colspan=2>Parameters</th></tr> 1117 <tr> 1118 <td><code>message</code></td> 1119 <td width="100%"> 1120 <code>String</code> 1121 <!-- no parameter comment --></td> 1122 </tr> 1123 <tr> 1124 <td><code>cause</code></td> 1125 <td width="100%"> 1126 <code>Throwable</code> 1127 <!-- no parameter comment --></td> 1128 </tr> 1129 </table> 1130 1131</div> 1132 1133 1134 1135 1136 1137<!-- ========= CONSTRUCTOR DETAIL ======== --> 1138<!-- Protected ctors --> 1139 1140 1141 1142<!-- ========= METHOD DETAIL ======== --> 1143<!-- Public methdos --> 1144 1145 1146 1147<!-- ========= METHOD DETAIL ======== --> 1148 1149 1150 1151<!-- ========= END OF CLASS DATA ========= --> 1152 1153</div><!-- end jd-content --> 1154 1155 1156 1157<div class="data-reference-resources-wrapper"> 1158 1159 <ul data-reference-resources> 1160 1161 1162 <li><h2>Interfaces</h2> 1163 <ul> 1164 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/BaseLayerComponent.html">BaseLayerComponent</a></li> 1165 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/EspressoException.html">EspressoException</a></li> 1166 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/FailureHandler.html">FailureHandler</a></li> 1167 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResource.html">IdlingResource</a></li> 1168 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResource.ResourceCallback.html">IdlingResource.ResourceCallback</a></li> 1169 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/UiController.html">UiController</a></li> 1170 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewAction.html">ViewAction</a></li> 1171 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></li> 1172 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewFinder.html">ViewFinder</a></li> 1173 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewInteractionComponent.html">ViewInteractionComponent</a></li> 1174 </ul> 1175 </li> 1176 1177 <li><h2>Classes</h2> 1178 <ul> 1179 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AmbiguousViewMatcherException.Builder.html">AmbiguousViewMatcherException.Builder</a></li> 1180 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/DataInteraction.html">DataInteraction</a></li> 1181 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Espresso.html">Espresso</a></li> 1182 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/GraphHolder.html">GraphHolder</a></li> 1183 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingPolicies.html">IdlingPolicies</a></li> 1184 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingPolicy.html">IdlingPolicy</a></li> 1185 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingViewException.Builder.html">NoMatchingViewException.Builder</a></li> 1186 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a></li> 1187 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Root.html">Root</a></li> 1188 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Root.Builder.html">Root.Builder</a></li> 1189 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewInteraction.html">ViewInteraction</a></li> 1190 </ul> 1191 </li> 1192 1193 1194 <li><h2>Exceptions</h2> 1195 <ul> 1196 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></li> 1197 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AppNotIdleException.html">AppNotIdleException</a></li> 1198 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResourceTimeoutException.html">IdlingResourceTimeoutException</a></li> 1199 <li class="selected api apilevel-"><a href="/reference/android/support/test/espresso/InjectEventSecurityException.html">InjectEventSecurityException</a></li> 1200 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoActivityResumedException.html">NoActivityResumedException</a></li> 1201 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingRootException.html">NoMatchingRootException</a></li> 1202 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></li> 1203 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/PerformException.html">PerformException</a></li> 1204 </ul> 1205 </li> 1206 1207 </ul> 1208 1209</div> 1210 1211 1212 1213</body> 1214</html> 1215