Package org.apache.maven.doxia.macro
Class MacroExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.maven.doxia.macro.MacroExecutionException
- All Implemented Interfaces:
Serializable
Wrap an exception that occurs during the execution of a Doxia macro.
- Since:
- 1.0
- Author:
- Brett Porter
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMacroExecutionException
(String message) Construct a newMacroExecutionException
with the specified detail message.MacroExecutionException
(String message, Throwable cause) Construct a newMacroExecutionException
with the specified detail message and cause.MacroExecutionException
(Throwable cause) Construct a newMacroExecutionException
with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MacroExecutionException
Construct a newMacroExecutionException
with the specified cause.- Parameters:
cause
- the cause. This can be retrieved later by theThrowable.getCause()
method. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
MacroExecutionException
Construct a newMacroExecutionException
with the specified detail message.- Parameters:
message
- The detailed message. This can later be retrieved by theThrowable.getMessage()
method.
-
MacroExecutionException
Construct a newMacroExecutionException
with the specified detail message and cause.- Parameters:
message
- The detailed message. This can later be retrieved by theThrowable.getMessage()
method.cause
- the cause. This can be retrieved later by theThrowable.getCause()
method. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-