org.apache.clerezza.rdf.core
Class InvalidLiteralTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.clerezza.rdf.core.InvalidLiteralTypeException
- All Implemented Interfaces:
- Serializable
public class InvalidLiteralTypeException
- extends RuntimeException
Thrown when a literal is of the wrong type for conversion to a java-type
- Author:
- reto
- See Also:
- Serialized Form
|
Constructor Summary |
InvalidLiteralTypeException(Class<?> javaType,
UriRef literalType)
Constructs the exception to be thrown when a literal cannot be
converted to an instance of the specified class |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidLiteralTypeException
public InvalidLiteralTypeException(Class<?> javaType,
UriRef literalType)
- Constructs the exception to be thrown when a literal cannot be
converted to an instance of the specified class
- Parameters:
javaType - the Class to convert toliteralType - the literalType which can't be converted
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.