Class PaintException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PaintException
    extends java.io.IOException
    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​(java.io.IOException exception)
      Constructs an instance of PaintExeception from IOException.
      PaintException​(java.lang.String msg)
      Constructs an instance of PaintExeception with the specified detail message.
      PaintException​(java.lang.String msg, java.lang.Throwable cause)
      Constructs an instance of PaintExeception 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PaintException

        public PaintException​(java.lang.String msg)
        Constructs an instance of PaintExeception with the specified detail message.
        Parameters:
        msg - the detail message.
      • PaintException

        public PaintException​(java.lang.String msg,
                              java.lang.Throwable cause)
        Constructs an instance of PaintExeception with the specified detail message and cause.
        Parameters:
        msg - the detail message.
        cause - the cause
      • PaintException

        public PaintException​(java.io.IOException exception)
        Constructs an instance of PaintExeception from IOException.
        Parameters:
        exception - the original exception.