1. /*
  2. * @(#)ImageFormatException.java 1.5 00/02/02
  3. *
  4. * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. /* ********************************************************************
  11. **********************************************************************
  12. **********************************************************************
  13. *** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
  14. *** As an unpublished work pursuant to Title 17 of the United ***
  15. *** States Code. All rights reserved. ***
  16. **********************************************************************
  17. **********************************************************************
  18. **********************************************************************/
  19. package com.sun.image.codec.jpeg;
  20. /**
  21. * Signals that an Image Format exception of some sort has occurred.
  22. * <p>
  23. * Note that the classes in the com.sun.image.codec.jpeg package are not
  24. * part of the core Java APIs. They are a part of Sun's JDK and JRE
  25. * distributions. Although other licensees may choose to distribute these
  26. * classes, developers cannot depend on their availability in non-Sun
  27. * implementations. We expect that equivalent functionality will eventually
  28. * be available in a core API or standard extension.
  29. * <p>
  30. *
  31. * @author Tom Sausner
  32. * @see JPEGImageEncoder
  33. * @see JPEGImageDecoder
  34. * @since JDK1.2
  35. */
  36. public
  37. class ImageFormatException extends RuntimeException {
  38. /**
  39. * Constructs an <code>ImageFormatException</code> with no detail message.
  40. */
  41. public ImageFormatException() {
  42. super();
  43. }
  44. /**
  45. * Constructs an <code>ImageFormatException</code> with the specified
  46. * detailed message.
  47. *
  48. * @param s the message.
  49. */
  50. public ImageFormatException(String s) {
  51. super(s);
  52. }
  53. }