1. /*
  2. * @(#)GeneralSecurityException.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.security;
  8. /**
  9. * The <code>GeneralSecurityException</code> class is a generic
  10. * security exception class that provides type safety for all the
  11. * security-related exception classes that extend from it.
  12. *
  13. * @version 1.13, 03/01/23
  14. * @author Jan Luehe
  15. */
  16. public class GeneralSecurityException extends Exception {
  17. /**
  18. * Constructs a GeneralSecurityException with no detail message.
  19. */
  20. public GeneralSecurityException() {
  21. super();
  22. }
  23. /**
  24. * Constructs a GeneralSecurityException with the specified detail
  25. * message.
  26. * A detail message is a String that describes this particular
  27. * exception.
  28. *
  29. * @param msg the detail message.
  30. */
  31. public GeneralSecurityException(String msg) {
  32. super(msg);
  33. }
  34. }