Share via


SecurityManager.checkPropertiesAccess

Class Overview | Class Members | This Package | All Packages

Syntax

public void checkPropertiesAccess()

Description

Throws a SecurityException if the calling thread is not allowed to access or modify the system properties.

This method is used by the getProperties and setProperties methods of class System.

The checkPropertiesAccess method for class SecurityManager always throws a SecurityException.

Exceptions

SecurityException if the caller does not have permission to access or modify the system properties.

See Also

getProperties, setProperties