- /*
- * @(#)SocketSecurityException.java 1.9 00/02/02
- *
- * Copyright 1996-2000 Sun Microsystems, Inc. All Rights Reserved.
- *
- * This software is the proprietary information of Sun Microsystems, Inc.
- * 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.9, 02/02/00
- * @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);
- }
-
- }