1. /*
  2. * @(#)CRLException.java 1.12 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.security.cert;
  8. import java.security.GeneralSecurityException;
  9. /**
  10. * CRL (Certificate Revocation List) Exception.
  11. *
  12. * @author Hemma Prafullchandra
  13. * 1.12
  14. */
  15. public class CRLException extends GeneralSecurityException {
  16. private static final long serialVersionUID = -6694728944094197147L;
  17. /**
  18. * Constructs a CRLException with no detail message. A
  19. * detail message is a String that describes this particular
  20. * exception.
  21. */
  22. public CRLException() {
  23. super();
  24. }
  25. /**
  26. * Constructs a CRLException with the specified detail
  27. * message. A detail message is a String that describes this
  28. * particular exception.
  29. *
  30. * @param message the detail message.
  31. */
  32. public CRLException(String message) {
  33. super(message);
  34. }
  35. /**
  36. * Creates a <code>CRLException</code> with the specified
  37. * detail message and cause.
  38. *
  39. * @param message the detail message (which is saved for later retrieval
  40. * by the {@link #getMessage()} method).
  41. * @param cause the cause (which is saved for later retrieval by the
  42. * {@link #getCause()} method). (A <tt>null</tt> value is permitted,
  43. * and indicates that the cause is nonexistent or unknown.)
  44. * @since 1.5
  45. */
  46. public CRLException(String message, Throwable cause) {
  47. super(message, cause);
  48. }
  49. /**
  50. * Creates a <code>CRLException</code> with the specified cause
  51. * and a detail message of <tt>(cause==null ? null : cause.toString())</tt>
  52. * (which typically contains the class and detail message of
  53. * <tt>cause</tt>).
  54. *
  55. * @param cause the cause (which is saved for later retrieval by the
  56. * {@link #getCause()} method). (A <tt>null</tt> value is permitted,
  57. * and indicates that the cause is nonexistent or unknown.)
  58. * @since 1.5
  59. */
  60. public CRLException(Throwable cause) {
  61. super(cause);
  62. }
  63. }