public class PaintException extends IOException implements Serializable
PaintExcepection
is thrown if painting of a component fails.Constructor and Description |
---|
PaintException(IOException exception)
Constructs an instance of
PaintExeception from IOException. |
PaintException(String msg)
Constructs an instance of
PaintExeception with the specified
detail message. |
PaintException(String msg,
Throwable cause)
Constructs an instance of
PaintExeception with the specified
detail message and cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PaintException(String msg)
PaintExeception
with the specified
detail message.msg
- the detail message.public PaintException(String msg, Throwable cause)
PaintExeception
with the specified
detail message and cause.msg
- the detail message.cause
- the causepublic PaintException(IOException exception)
PaintExeception
from IOException.exception
- the original exception.Copyright © 2019 Vaadin Ltd. All rights reserved.