Microsoft SDK for Java

check

This method of the SystemStreamsPermission Class determines whether the permission object allows the specified system stream to be set.

Syntax

public void check(Object param) throws SecurityException;

Parameters

param The security request parameter. This parameter must be an instance of java.lang.Integer, whose value is interpreted as follows:

0

Indicates an attempt to set System.in.

1

Indicates an attempt to set System.out.

2

Indicates an attempt to set System.err.


Exceptions

SecurityException if the permission does not allow the specified operation.

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