2016/05/28 - Apache Tuscany has been retired.

For more information, please explore the Attic.



org.apache.tuscany.sca.implementation.java.introspect.impl
Class InvalidServiceType

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.tuscany.sca.implementation.java.IntrospectionException
              extended by org.apache.tuscany.sca.implementation.java.introspect.impl.InvalidServiceType
All Implemented Interfaces:
java.io.Serializable

public class InvalidServiceType
extends IntrospectionException

Thrown when a service type specified by an Service annotation is invalid, e.g. it is not an interface

See Also:
Serialized Form

Constructor Summary
InvalidServiceType(java.lang.String message)
           
InvalidServiceType(java.lang.String message, java.lang.Class<?> clazz)
           
 
Method Summary
 java.lang.Class<?> getServiceType()
           
 
Methods inherited from class org.apache.tuscany.sca.implementation.java.IntrospectionException
getMember, setMember
 
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

InvalidServiceType

public InvalidServiceType(java.lang.String message)

InvalidServiceType

public InvalidServiceType(java.lang.String message,
                          java.lang.Class<?> clazz)
Method Detail

getServiceType

public java.lang.Class<?> getServiceType()
Returns:
the serviceType