Constructs a new instance of {@code AccessControlException} with the given message.parammessage the detail message for this exception.sinceAndroid 1.0 // Named as demanded by Serialized Form. super(message);
// Named as demanded by Serialized Form. super(message);
Constructs a new instance of {@code AccessControlException} with the given message and the requested {@code Permission} which was not granted.parammessage the detail message for the exception.paramperm the requested {@code Permission} which was not granted.sinceAndroid 1.0 super(message); this.perm = perm;
super(message); this.perm = perm;
Returns the requested permission that caused this Exception or {@code null} if there is no corresponding {@code Permission}.returnthe requested permission that caused this Exception, maybe {@code null}.sinceAndroid 1.0 return perm;
return perm;