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