Package org.xwiki.rendering.converter
Class ConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.rendering.converter.ConversionException
-
- All Implemented Interfaces:
Serializable
public class ConversionException extends Exception
Encapsulate a conversion error.- Since:
- 2.0M3
- Version:
- $Id: 919db6404fc0d43127117624b4d1557666b5224e $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConversionException(String message)Construct a new ParseException with the specified detail message.ConversionException(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
-
ConversionException
public ConversionException(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.
-
ConversionException
public ConversionException(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.)
-
-