1. /*
  2. * @(#)GeneralSecurityException.java 1.9 00/02/02
  3. *
  4. * Copyright 1997-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.security;
  11. /**
  12. * This is the general security exception class, which serves to group all
  13. * the exception classes of the <code>java.security</code> package that
  14. * extend from it.
  15. * (Exceptions are AccessControlException and CertificateException,
  16. * which subclass from <code>java.lang.SecurityException</code>, and ProviderException
  17. * and InvalidParameterException, which subclass from
  18. * <code>java.lang.RuntimeException</code>.)
  19. *
  20. * @version 1.9, 00/02/02
  21. * @author Jan Luehe
  22. */
  23. public class GeneralSecurityException extends Exception {
  24. /**
  25. * Constructs a GeneralSecurityException with no detail message.
  26. */
  27. public GeneralSecurityException() {
  28. super();
  29. }
  30. /**
  31. * Constructs a GeneralSecurityException with the specified detail
  32. * message.
  33. * A detail message is a String that describes this particular
  34. * exception.
  35. *
  36. * @param msg the detail message.
  37. */
  38. public GeneralSecurityException(String msg) {
  39. super(msg);
  40. }
  41. }