Class 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 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)