1. /*
  2. * @(#)GeneralSecurityException.java 1.8 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.security;
  8. /**
  9. * This is the general security exception class, which serves to group all
  10. * the exception classes of the <code>java.security</code> package that
  11. * extend from it.
  12. * (Exceptions are AccessControlException and CertificateException,
  13. * which subclass from <code>java.lang.SecurityException</code>, and ProviderException
  14. * and InvalidParameterException, which subclass from
  15. * <code>java.lang.RuntimeException</code>.)
  16. *
  17. * @version 1.8, 01/11/29
  18. * @author Jan Luehe
  19. */
  20. public class GeneralSecurityException extends Exception {
  21. /**
  22. * Constructs a GeneralSecurityException with no detail message.
  23. */
  24. public GeneralSecurityException() {
  25. super();
  26. }
  27. /**
  28. * Constructs a GeneralSecurityException with the specified detail
  29. * message.
  30. * A detail message is a String that describes this particular
  31. * exception.
  32. *
  33. * @param msg the detail message.
  34. */
  35. public GeneralSecurityException(String msg) {
  36. super(msg);
  37. }
  38. }