Package org.xwiki.rendering.parser
Class MissingParserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.rendering.parser.MissingParserException
-
- All Implemented Interfaces:
Serializable
public class MissingParserException extends Exception
Specialized parser exception to report missing parser for a given syntax.- Since:
- 6.0M2
- Version:
- $Id: b0db2852b15377fc8cc975c08fe5a3c3e1cfc0c7 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingParserException(org.xwiki.rendering.syntax.Syntax syntax)
Construct a new MissingParserException for the specified syntax.MissingParserException(org.xwiki.rendering.syntax.Syntax syntax, Throwable throwable)
Construct a new MissingParserException for the specified syntax 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
-
MissingParserException
public MissingParserException(org.xwiki.rendering.syntax.Syntax syntax)
Construct a new MissingParserException for the specified syntax.- Parameters:
syntax
- The requested syntax. Used to compose a message for Throwable.getMessage() method.
-
MissingParserException
public MissingParserException(org.xwiki.rendering.syntax.Syntax syntax, Throwable throwable)
Construct a new MissingParserException for the specified syntax and cause.- Parameters:
syntax
- The requested syntax. Used to compose a message for 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)
-
-