1. /*
  2. * @(#)RMISecurityException.java 1.9 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.rmi;
  8. /**
  9. * An <code>RMISecurityException</code> signals that a security exception
  10. * has occurred during the execution of one of
  11. * <code>java.rmi.RMISecurityManager</code>'s methods.
  12. *
  13. * @version 1.9, 11/29/01
  14. * @author Roger Riggs
  15. * @since JDK1.1
  16. * @deprecated no replacement. <code>RMISecurityManager</code> no longer
  17. * throws this subclass of <code>java.lang.SecurityException</code>.
  18. */
  19. public class RMISecurityException extends java.lang.SecurityException {
  20. /* indicate compatibility with JDK 1.1.x version of class */
  21. private static final long serialVersionUID = -8433406075740433514L;
  22. /**
  23. * Construct an <code>RMISecurityException</code> with a detail message.
  24. * @param s the detail message
  25. * @since JDK1.1
  26. * @deprecated no replacement
  27. */
  28. public RMISecurityException(String name) {
  29. super(name);
  30. }
  31. /**
  32. * Construct an <code>RMISecurityException</code> with a detail message.
  33. * @param s the detail message
  34. * @param arg ignored
  35. * @since JDK1.1
  36. * @deprecated no replacement
  37. */
  38. public RMISecurityException(String name, String arg) {
  39. this(name);
  40. }
  41. }