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