Microsoft SDK for Java

check

This method of the IPermission Interface determines whether the permission object allows the specified action. The request parameter represents a request to perform a particular action. The type of the request parameter depends on the type of the permission object that is being checked.

Syntax

void check(Object request) throws SecurityException ;

Parameters

request The object that represents the action for which permission is being checked.

Exceptions

SecurityException if the state of the permission object indicates that the action is not allowed.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.