1. /*
  2. * @(#)RMISecurityException.java 1.16 04/05/18
  3. *
  4. * Copyright 2004 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.16, 05/18/04
  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. @Deprecated
  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. @Deprecated
  32. public RMISecurityException(String name) {
  33. super(name);
  34. }
  35. /**
  36. * Construct an <code>RMISecurityException</code> with a detail message.
  37. * @param name the detail message
  38. * @param arg ignored
  39. * @since JDK1.1
  40. * @deprecated no replacement
  41. */
  42. @Deprecated
  43. public RMISecurityException(String name, String arg) {
  44. this(name);
  45. }
  46. }