- /*
- * @(#)SocketSecurityException.java 1.8 01/11/29
- *
- * Copyright 2002 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.8, 11/29/01
- * @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);
- }
-
- }