org.apache.stanbol.entityhub.servicesapi.model
Class UnsupportedTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by org.apache.stanbol.entityhub.servicesapi.model.UnsupportedTypeException
All Implemented Interfaces:
Serializable

public class UnsupportedTypeException
extends IllegalArgumentException

Indicates, that the requested type is not supported.

The definition of the model requires some types to be supported. Implementation may support additional types. Components that use a specific implementation may therefore use types that are not required to be supported. However such components should also be able to deal with this kind of exceptions.

Author:
Rupert Westenthaler
See Also:
Serialized Form

Constructor Summary
UnsupportedTypeException(Class<?> type, String dataType)
           
UnsupportedTypeException(Class<?> type, String dataType, Throwable cause)
           
 
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

UnsupportedTypeException

public UnsupportedTypeException(Class<?> type,
                                String dataType)

UnsupportedTypeException

public UnsupportedTypeException(Class<?> type,
                                String dataType,
                                Throwable cause)


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.