org.apache.maven.doxia.macro.manager
Class MacroNotFoundException

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

public class MacroNotFoundException
extends Exception

Encapsulate an exception that indicates that a Macro does not exist or could not be found.

Since:
1.0
Version:
$Id: MacroNotFoundException.java 662767 2008-06-03 12:25:07Z ltheussl $
Author:
Jason van Zyl
See Also:
Serialized Form

Constructor Summary
MacroNotFoundException(String message)
          Construct a new MacroNotFoundException with the specified detail message.
MacroNotFoundException(String message, Throwable cause)
          Construct a new MacroNotFoundException with the specified detail message and cause.
MacroNotFoundException(Throwable cause)
          Constructs a new MacroNotFoundException with the specified 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

MacroNotFoundException

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

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

MacroNotFoundException

public MacroNotFoundException(Throwable cause)
Constructs a new MacroNotFoundException with the specified cause. The error message is (cause == null ? null : cause.toString() ).

Parameters:
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.)

MacroNotFoundException

public MacroNotFoundException(String message,
                              Throwable cause)
Construct a new MacroNotFoundException 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.