Class RendererException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RendererException
    extends RenderException
    Wraps an exception thrown by a renderer while rendering.

    The cause of this exception is always the exception thrown by the renderer.

    See Also:
    Context.render(Object), Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RendererException​(java.lang.String message, java.lang.Throwable cause)
      Constructor.
      RendererException​(Renderer<?> renderer, java.lang.Object object, java.lang.Throwable cause)
      Constructor.
    • 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

      • RendererException

        public RendererException​(Renderer<?> renderer,
                                 java.lang.Object object,
                                 java.lang.Throwable cause)
        Constructor.
        Parameters:
        renderer - the renderer that failed
        object - the object being rendered
        cause - the exception thrown by the renderer
      • RendererException

        public RendererException​(java.lang.String message,
                                 java.lang.Throwable cause)
        Constructor.
        Parameters:
        message - the exception message
        cause - the exception thrown by the renderer
        Since:
        1.5