public final class ImageException extends RuntimeException
ScreenshotTaker
when, for some reason, a screenshot of the desktop cannot be taken.Constructor and Description |
---|
ImageException(String message)
Creates a new
ImageException . |
ImageException(String message,
Throwable cause)
Creates a new
ImageException . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ImageException(String message)
ImageException
.message
- the detail message.public ImageException(String message, Throwable cause)
ImageException
.message
- the detail message.cause
- the cause of the error.Copyright © 2014–2019 AssertJ. All rights reserved.