org.apache.tuscany.sca.interfacedef
Class IncompatibleInterfaceContractException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.tuscany.sca.interfacedef.IncompatibleInterfaceContractException
All Implemented Interfaces:
java.io.Serializable

public class IncompatibleInterfaceContractException
extends java.lang.Exception

Denotes incompatible service contracts for a wire

See Also:
Serialized Form

Constructor Summary
IncompatibleInterfaceContractException(java.lang.String message, InterfaceContract source, InterfaceContract target)
           
IncompatibleInterfaceContractException(java.lang.String message, InterfaceContract source, InterfaceContract target, Operation sourceOperation, Operation targetOperation)
           
 
Method Summary
 InterfaceContract getSource()
           
 Operation getSourceOperation()
           
 InterfaceContract getTarget()
           
 Operation getTargetOperation()
           
 
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

IncompatibleInterfaceContractException

public IncompatibleInterfaceContractException(java.lang.String message,
                                              InterfaceContract source,
                                              InterfaceContract target)

IncompatibleInterfaceContractException

public IncompatibleInterfaceContractException(java.lang.String message,
                                              InterfaceContract source,
                                              InterfaceContract target,
                                              Operation sourceOperation,
                                              Operation targetOperation)
Method Detail

getTarget

public InterfaceContract getTarget()

getSource

public InterfaceContract getSource()

getSourceOperation

public Operation getSourceOperation()

getTargetOperation

public Operation getTargetOperation()