Package org.xwiki.rendering
Class RenderingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.rendering.RenderingException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TransformationException
public class RenderingException extends Exception
Base exception for rendering module exceptions.- Since:
- 10.10RC1
- Version:
- $Id: 2cb446917af73c7bbe1dcddb5e71ed36904054ac $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RenderingException(String message)
Constructs a new exception with the specified detail message.RenderingException(String message, Throwable cause)
Constructs a new exception 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
-
RenderingException
public RenderingException(String message)
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(Throwable)
.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method)
-
RenderingException
public RenderingException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method)cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). A null value is permitted, and indicates that the cause is nonexistent or unknown
-
-