SecurityManager.checkListen

SecurityManager.checkListen

Class Overview | Class Members | This Package | All Packages

Syntax
public void checkListen( int port )
Parameters
port
the local port.
Description
Throws a SecurityException if the calling thread is not allowed to wait for a connection request on the specified local port number.

The checkListen method for class SecurityManager always throws a SecurityException.

Exceptions
SecurityException if the caller does not have permission to listen on the specified port.