SecurityException
if the requested access, specified by the given permission, is not permitted based on the security policy currently in effect. This method calls AccessController.checkPermission
with the given permission.
@param perm the requested permission.
@exception SecurityException if access is not permitted based onthe current security policy.
@exception NullPointerException if the permission argument isnull
.
@since 1.2
|
|