Package org.xwiki.rendering.macro
Class MacroExecutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.rendering.macro.MacroExecutionException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MacroParameterException
public class MacroExecutionException extends Exception
Encapsulate a rendering error.- Since:
- 1.5M2
- Version:
- $Id: 1ad05ee4eb34062adc1747c4f8a0d916905d13bc $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MacroExecutionException(String message)
Constructs a new exception with the specified detail message.MacroExecutionException(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
-
MacroExecutionException
public MacroExecutionException(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)
-
MacroExecutionException
public MacroExecutionException(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
-
-