📄 socketsecurityexception.java
字号:
/* * @(#)SocketSecurityException.java 1.11 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package java.rmi.server;/** * A <code>SocketSecurityException</code> is thrown during remote object * export if the code exporting the remote object (either by construction * or by explicit call to the <code>exportObject</code> method of * <code>UnicastRemoteObject</code> or * <code>java.rmi.activation.Activatable</code>) does not have permission * to create a <code>java.net.ServerSocket</code> on the port number * specified during remote object export. * * @version 1.11, 01/23/03 * @author Ann Wollrath * @since JDK1.1 * @see java.rmi.server.UnicastRemoteObject * @see java.rmi.activation.Activatable */public class SocketSecurityException extends ExportException { /* indicate compatibility with JDK 1.1.x version of class */ private static final long serialVersionUID = -7622072999407781979L; /** * Constructs an <code>SocketSecurityException</code> with the specified * detail message. * * @param s the detail message. * @since JDK1.1 */ public SocketSecurityException(String s) { super(s); } /** * Constructs an <code>SocketSecurityException</code> with the specified * detail message and nested exception. * * @param s the detail message. * @param ex the nested exception * @since JDK1.1 */ public SocketSecurityException(String s, Exception ex) { super(s, ex); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -