org.fest.swing.image
Class ImageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.fest.swing.image.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.

Author:
Alex Ruiz
See Also:
Serialized Form

Constructor Summary
ImageException(String message)
          Creates a new ImageException.
ImageException(String message, Throwable cause)
          Creates a new ImageException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.