public final class UnsupportedProtocolException extends RuntimeException
TargetDescriptor
is not supported by a service caller.TargetDescriptor
,
ServiceCaller
,
Serialized FormConstructor and Description |
---|
UnsupportedProtocolException(TargetDescriptor target)
Constructs a new
UnsupportedProtocolException for the
specified target descriptor. |
Modifier and Type | Method and Description |
---|---|
TargetDescriptor |
getTargetDescriptor()
Returns the target descriptor that has an unsupported protocol.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnsupportedProtocolException(TargetDescriptor target) throws IllegalArgumentException
UnsupportedProtocolException
for the
specified target descriptor.target
- the TargetDescriptor
that has an unsupported protocol, cannot
be null
.IllegalArgumentException
- if target == null
.public TargetDescriptor getTargetDescriptor()
TargetDescriptor
, never null
.See http://www.xins.org/.