org.apache.maven.doxia.macro
Class MacroExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.doxia.macro.MacroExecutionException
All Implemented Interfaces:
Serializable

public class MacroExecutionException
extends 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
MacroExecutionException(String message)
          Construct a new MacroExecutionException with the specified detail message.
MacroExecutionException(String message, Throwable cause)
          Construct a new MacroExecutionException with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MacroExecutionException

public MacroExecutionException(String message)
Construct a new MacroExecutionException with the specified detail message.

Parameters:
message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.

MacroExecutionException

public MacroExecutionException(String message,
                               Throwable cause)
Construct a new MacroExecutionException with the specified detail message and cause.

Parameters:
message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.
cause - the cause. This can be retrieved later by the Throwable.getCause() method. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.