org.xwiki.rendering.parser
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.xwiki.rendering.parser.ParseException
All Implemented Interfaces:
Serializable

public class ParseException
extends Exception

Encapsulate a parsing error.

Version:
$Id: 123fe4e6e79f559b97084cca3542b00b3f764bd9 $
See Also:
Serialized Form

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

ParseException

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

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

ParseException

public ParseException(String message,
                      Throwable throwable)
Construct a new ParseException 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)


Copyright © 2004–2015 XWiki. All rights reserved.