1. /*
  2. * @(#)CoderMalfunctionError.java 1.5 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.nio.charset;
  8. /**
  9. * Error thrown when the {@link CharsetDecoder#decodeLoop decodeLoop} method of
  10. * a {@link CharsetDecoder}, or the {@link CharsetEncoder#encodeLoop
  11. * encodeLoop} method of a {@link CharsetEncoder}, throws an unexpected
  12. * exception.
  13. *
  14. * @version 1.5, 03/12/19
  15. * @since 1.4
  16. */
  17. public class CoderMalfunctionError
  18. extends Error
  19. {
  20. /**
  21. * Initializes an instance of this class.
  22. *
  23. * @param cause
  24. * The unexpected exception that was thrown
  25. */
  26. public CoderMalfunctionError(Exception cause) {
  27. super(cause);
  28. }
  29. }