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:
java.io.Serializable
public class MacroExecutionException extends java.lang.Exception
Wrap an exception that occurs during the execution of a Doxia macro.- Since:
- 1.0
- Version:
- $Id: MacroExecutionException.java 636300 2008-03-12 12:46:19Z vsiveton $
- Author:
- Brett Porter
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MacroExecutionException(java.lang.String message)
Construct a newMacroExecutionException
with the specified detail message.MacroExecutionException(java.lang.String message, java.lang.Throwable cause)
Construct a newMacroExecutionException
with the specified detail message and cause.
-
-
-
Constructor Detail
-
MacroExecutionException
public MacroExecutionException(java.lang.String message)
Construct a newMacroExecutionException
with the specified detail message.- Parameters:
message
- The detailed message. This can later be retrieved by theThrowable.getMessage()
method.
-
MacroExecutionException
public MacroExecutionException(java.lang.String message, java.lang.Throwable cause)
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.)
-
-