Class ImageException

All Implemented Interfaces:
Serializable

public final class ImageException extends RuntimeException
Understands an exception thrown by ScreenshotTaker when, for some reason, a screenshot of the desktop cannot be taken.
See Also:
  • Field Details

  • Constructor Details

    • ImageException

      public ImageException(String message)
      Creates a new ImageException.
      Parameters:
      message - the detail message.
    • ImageException

      public ImageException(String message, Throwable cause)
      Creates a new ImageException.
      Parameters:
      message - the detail message.
      cause - the cause of the error.