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.13 $ $Date: 2006/08/28 09:12:34 $
- 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/.