Microsoft SDK for Java

check

This method of the ReflectionPermission Class determines whether the permission object allows the specified action. The request parameter represents a request to perform a particular action. The type of the parameter depends on the type of the permission object.

Syntax

public void check(Object param);

Parameters

param 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.