Package ratpack.render
Class RendererException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ratpack.render.RenderException
-
- ratpack.render.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.
-
-
-
Constructor Detail
-
RendererException
public RendererException(Renderer<?> renderer, java.lang.Object object, java.lang.Throwable cause)
Constructor.- Parameters:
renderer
- the renderer that failedobject
- the object being renderedcause
- the exception thrown by the renderer
-
RendererException
public RendererException(java.lang.String message, java.lang.Throwable cause)
Constructor.- Parameters:
message
- the exception messagecause
- the exception thrown by the renderer- Since:
- 1.5
-
-