1. /*
  2. * @(#)SecurityException.java 1.11 00/02/02
  3. *
  4. * Copyright 1995-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.lang;
  11. /**
  12. * Thrown by the security manager to indicate a security violation.
  13. *
  14. * @author unascribed
  15. * @version 1.11, 02/02/00
  16. * @see java.lang.SecurityManager
  17. * @since JDK1.0
  18. */
  19. public class SecurityException extends RuntimeException {
  20. /**
  21. * Constructs a <code>SecurityException</code> with no detail message.
  22. */
  23. public SecurityException() {
  24. super();
  25. }
  26. /**
  27. * Constructs a <code>SecurityException</code> with the specified
  28. * detail message.
  29. *
  30. * @param s the detail message.
  31. */
  32. public SecurityException(String s) {
  33. super(s);
  34. }
  35. }