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