| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.ontoware.rdf2go.util.ConversionException
ConversionException | public class ConversionException extends RuntimeException (Code) | | Thrown when an rdf2go adapter cannot convert from one class to another.
The source object that cannot be conveted and the target class that
was the goal of the conversion are passed.
author: sauermann |
ConversionException | public ConversionException()(Code) | | default constructor
|
ConversionException | public ConversionException(String message)(Code) | | constructor, with an injected message
Parameters: message - |
ConversionException | public ConversionException(Throwable cause)(Code) | | Parameters: cause - |
ConversionException | public ConversionException(String message, Throwable cause)(Code) | | Parameters: message - Parameters: cause - |
ConversionException | public ConversionException(String message, Object sourceObject, Class> targetClass)(Code) | | Generate a new conversion exception. The exception will start with
a string automatically generated from using the toString of the source
object and the targetclass. You can give a message or leave it empty.
Parameters: message - Parameters: sourceObject - Parameters: targetClass - |
generateMessage | protected static String generateMessage(String message, Object sourceObject2, Class> targetClass2)(Code) | | generate the error message
|
getSourceObject | public Object getSourceObject()(Code) | | the source object that could not be converted. |
getTargetClass | public Class> getTargetClass()(Code) | | the target class that should be converted to |
|
|