org.xins.common.service
Class UnsupportedProtocolException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.xins.common.service.UnsupportedProtocolException
All Implemented Interfaces:
Serializable

public final class UnsupportedProtocolException
extends RuntimeException

Exception that indicates that protocol specified in a TargetDescriptor is not supported by a service caller.

Since:
XINS 1.1.0
Version:
$Revision: 1.13 $ $Date: 2006/08/28 09:12:34 $
Author:
Ernst de Haan
See Also:
TargetDescriptor, ServiceCaller, Serialized Form

Constructor Summary
UnsupportedProtocolException(TargetDescriptor target)
          Constructs a new UnsupportedProtocolException for the specified target descriptor.
 
Method Summary
 TargetDescriptor getTargetDescriptor()
          Returns the target descriptor that has an unsupported protocol.
 
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

UnsupportedProtocolException

public UnsupportedProtocolException(TargetDescriptor target)
                             throws IllegalArgumentException
Constructs a new UnsupportedProtocolException for the specified target descriptor.

Parameters:
target - the TargetDescriptor that has an unsupported protocol, cannot be null.
Throws:
IllegalArgumentException - if target == null.
Method Detail

getTargetDescriptor

public TargetDescriptor getTargetDescriptor()
Returns the target descriptor that has an unsupported protocol.

Returns:
the TargetDescriptor, never null.


See http://www.xins.org/.