Package org.xwiki.rendering.wiki
Class WikiModelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xwiki.rendering.wiki.WikiModelException
- All Implemented Interfaces:
Serializable
Encapsulate a Wiki Model exception.
- Since:
- 9.6RC1
- Version:
- $Id: a831881801190228560871618937c7495e58f092 $
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWikiModelException(String message) Construct a new exception with the specified detail message.WikiModelException(String message, Throwable throwable) Construct a new exception with the specified detail 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 Details
-
WikiModelException
Construct a new exception with the specified detail message.- Parameters:
message- The detailed message. This can later be retrieved by the Throwable.getMessage() method.
-
WikiModelException
Construct a new exception with the specified detail message and cause.- Parameters:
message- The detailed message. This can later be retrieved by the Throwable.getMessage() method.throwable- 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)
-