1. /*
  2. * @(#)BackingStoreException.java 1.7 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.util.prefs;
  8. import java.io.NotSerializableException;
  9. /**
  10. * Thrown to indicate that a preferences operation could not complete because
  11. * of a failure in the backing store, or a failure to contact the backing
  12. * store.
  13. *
  14. * @author Josh Bloch
  15. * @version 1.7, 12/19/03
  16. * @since 1.4
  17. */
  18. public class BackingStoreException extends Exception {
  19. /**
  20. * Constructs a BackingStoreException with the specified detail message.
  21. *
  22. * @param s the detail message.
  23. */
  24. public BackingStoreException(String s) {
  25. super(s);
  26. }
  27. /**
  28. * Constructs a BackingStoreException with the specified cause.
  29. *
  30. * @param cause the cause
  31. */
  32. public BackingStoreException(Throwable cause) {
  33. super(cause);
  34. }
  35. private static final long serialVersionUID = 859796500401108469L;
  36. }