org.apache.clerezza.rdf.core
Class InvalidLiteralTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 to
literalType - the literalType which can't be converted


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.