Class WikiMacroException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.rendering.macro.wikibridge.WikiMacroException
-
- All Implemented Interfaces:
Serializable
public class WikiMacroException extends Exception
Indicate a problem when using the Wiki Macro API.- Since:
- 2.0RC1
- Version:
- $Id: 75e5ec6ef80ce8ab4f985c92f2d12428fd164c30 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WikiMacroException(String message)
Builds a newWikiMacroException
with the given error message.WikiMacroException(String message, Throwable cause)
Builds a newWikiMacroException
with the given error 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
-
WikiMacroException
public WikiMacroException(String message)
Builds a newWikiMacroException
with the given error message.- Parameters:
message
- error messge.
-
WikiMacroException
public WikiMacroException(String message, Throwable cause)
Builds a newWikiMacroException
with the given error message and cause.- Parameters:
message
- error message.cause
- cause of error.
-
-