1. /*
  2. * @(#)RMISecurityException.java 1.14 03/01/23
  3. *
  4. * Copyright 2003 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.14, 01/23/03
  14. * @author Roger Riggs
  15. * @since JDK1.1
  16. * @deprecated Use {@link java.lang.SecurityException} instead.
  17. * Application code should never directly reference this class, and
  18. * <code>RMISecurityManager</code> no longer throws this subclass of
  19. * <code>java.lang.SecurityException</code>.
  20. */
  21. public class RMISecurityException extends java.lang.SecurityException {
  22. /* indicate compatibility with JDK 1.1.x version of class */
  23. private static final long serialVersionUID = -8433406075740433514L;
  24. /**
  25. * Construct an <code>RMISecurityException</code> with a detail message.
  26. * @param name the detail message
  27. * @since JDK1.1
  28. * @deprecated no replacement
  29. */
  30. public RMISecurityException(String name) {
  31. super(name);
  32. }
  33. /**
  34. * Construct an <code>RMISecurityException</code> with a detail message.
  35. * @param name the detail message
  36. * @param arg ignored
  37. * @since JDK1.1
  38. * @deprecated no replacement
  39. */
  40. public RMISecurityException(String name, String arg) {
  41. this(name);
  42. }
  43. }