org.xins.common.service
Class UnsupportedProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.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.20 $ $Date: 2007/03/16 09:54:59 $
- Author:
- Ernst de Haan
- See Also:
TargetDescriptor,
ServiceCaller,
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.
getTargetDescriptor
public TargetDescriptor getTargetDescriptor()
- Returns the target descriptor that has an unsupported protocol.
- Returns:
- the
TargetDescriptor, never null.
See http://www.xins.org/.