Package org.xwiki.properties.converter
Class ConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.xwiki.properties.converter.ConversionException
-
- All Implemented Interfaces:
Serializable
public class ConversionException extends RuntimeException
A ConversionException indicates that a call toConverter.convert()
has failed to complete successfully.- Since:
- 2.0M2
- Version:
- $Id: 24f863fd167cc8413e7a885dc13ac79e79d8b134 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConversionException(String message)
Construct a new exception with the specified message.ConversionException(String message, Throwable cause)
Construct a new exception with the specified message and root cause.ConversionException(Throwable cause)
Construct a new exception with the specified root 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 exception with the specified message.- Parameters:
message
- The message describing this exception
-
ConversionException
public ConversionException(String message, Throwable cause)
Construct a new exception with the specified message and root cause.- Parameters:
message
- The message describing this exceptioncause
- The root cause of this exception
-
ConversionException
public ConversionException(Throwable cause)
Construct a new exception with the specified root cause.- Parameters:
cause
- The root cause of this exception
-
-