org.xwiki.configuration
Class ConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.xwiki.configuration.ConversionException
- All Implemented Interfaces:
- Serializable
public class ConversionException
- extends RuntimeException
Raised when a property of a given type is retrieved as a property of another type
(eg trying to get a String property as a Boolean).
- Since:
- 2.0M1
- Version:
- $Id: 80a0dc518f142434ebee6dfd27998634c5e6ead0 $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConversionException
public ConversionException(String message)
- Construct a new Exception 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 cause)
- Construct a new Exception with the specified detail message and cause.
- Parameters:
message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.cause - 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–2013 XWiki. All rights reserved.