Package org.xwiki.rendering.parser
Class ParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.rendering.parser.ParseException
-
- All Implemented Interfaces:
Serializable
public class ParseException extends Exception
Encapsulate a parsing error.- Version:
- $Id: a7e0e845a1cdc6a72995a9805a09076cecf406cf $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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)
-
-