Package com.vaadin.server
Class PaintException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.vaadin.server.PaintException
-
- All Implemented Interfaces:
Serializable
public class PaintException extends IOException implements Serializable
PaintExcepection
is thrown if painting of a component fails.- Since:
- 3.0
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PaintException(IOException exception)
Constructs an instance ofPaintExeception
from IOException.PaintException(String msg)
Constructs an instance ofPaintExeception
with the specified detail message.PaintException(String msg, Throwable cause)
Constructs an instance ofPaintExeception
with the specified detail message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PaintException
public PaintException(String msg)
Constructs an instance ofPaintExeception
with the specified detail message.- Parameters:
msg
- the detail message.
-
PaintException
public PaintException(String msg, Throwable cause)
Constructs an instance ofPaintExeception
with the specified detail message and cause.- Parameters:
msg
- the detail message.cause
- the cause
-
PaintException
public PaintException(IOException exception)
Constructs an instance ofPaintExeception
from IOException.- Parameters:
exception
- the original exception.
-
-