Commit 3954da9
Minor Refactor of ExecutorchRuntimeException (#16193)
- Add dedicated helper function to retreive detailed error logs
- Make ExecutorchInvalidArgumentException extend
ExecutorchRuntimeException
### Summary
[PLEASE REMOVE] See [CONTRIBUTING.md's Pull
Requests](https://github.com/pytorch/executorch/blob/main/CONTRIBUTING.md#pull-requests)
for ExecuTorch PR guidelines.
[PLEASE REMOVE] If this PR closes an issue, please add a `Fixes
#<issue-id>` line.
[PLEASE REMOVE] If this PR introduces a fix or feature that should be
the upcoming release notes, please add a "Release notes: <area>" label.
For a list of available release notes labels, check out
[CONTRIBUTING.md's Pull
Requests](https://github.com/pytorch/executorch/blob/main/CONTRIBUTING.md#pull-requests).
### Test plan
[PLEASE REMOVE] How did you test this PR? Please write down any manual
commands you used and note down tests that you have written if
applicable.
Co-authored-by: Github Executorch <github_executorch@arm.com>1 parent 5033840 commit 3954da9
File tree
1 file changed
+26
-46
lines changed- extension/android/executorch_android/src/main/java/org/pytorch/executorch
1 file changed
+26
-46
lines changedLines changed: 26 additions & 46 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 78 | | |
83 | | - | |
84 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
85 | 83 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
90 | 89 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
106 | 98 | | |
107 | 99 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 100 | + | |
| 101 | + | |
121 | 102 | | |
| 103 | + | |
122 | 104 | | |
123 | 105 | | |
124 | 106 | | |
| |||
133 | 115 | | |
134 | 116 | | |
135 | 117 | | |
136 | | - | |
137 | | - | |
138 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
139 | 121 | | |
| 122 | + | |
| 123 | + | |
140 | 124 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 125 | + | |
146 | 126 | | |
147 | 127 | | |
148 | 128 | | |
| |||
0 commit comments