1. /*
  2. * @(#)NotActiveException.java 1.10 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.io;
  8. /**
  9. * Thrown when serialization or deserialization is not active.
  10. *
  11. * @author unascribed
  12. * @version 1.10, 11/29/01
  13. * @since JDK1.1
  14. */
  15. public class NotActiveException extends ObjectStreamException {
  16. /**
  17. * Constructor to create a new NotActiveException with the reason given.
  18. */
  19. public NotActiveException(String reason) {
  20. super(reason);
  21. }
  22. /**
  23. * Constructor to create a new NotActiveException without a reason.
  24. */
  25. public NotActiveException() {
  26. super();
  27. }
  28. }