17.15. Obtaining the Full Reason a SecurityException Was Thrown
Problem
You need more information as to why a SecurityException was thrown.
Solution
Use the new properties available on the SecurityException object, as shown in Table 17-2.
Table 17-2. SecurityException Properties
Property | Description |
|---|---|
| This property returns a |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| An |
| Returns the permission(s) that caused the |
| Returns the denied permission(s) that caused the |
| Returns an |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access