1. /*
  2. * @(#)DigestException.java 1.14 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. * This is the generic Message Digest exception.
  10. *
  11. * @version 1.14, 03/01/23
  12. * @author Benjamin Renaud
  13. */
  14. public class DigestException extends GeneralSecurityException {
  15. /**
  16. * Constructs a DigestException with no detail message. (A
  17. * detail message is a String that describes this particular
  18. * exception.)
  19. */
  20. public DigestException() {
  21. super();
  22. }
  23. /**
  24. * Constructs a DigestException with the specified detail
  25. * message. (A detail message is a String that describes this
  26. * particular exception.)
  27. *
  28. * @param msg the detail message.
  29. */
  30. public DigestException(String msg) {
  31. super(msg);
  32. }
  33. }