org.sblim.slp
public class ServiceLocationException extends Exception
| Field Summary | |
|---|---|
| static short | AUTHENTICATION_ABSENT
The DA expected URL and ATTR authentication in the SrvReg and did not
receive it. |
| static short | AUTHENTICATION_FAILED
The DA detected an authentication error in an Authentication block. |
| static short | AUTHENTICATION_UNKNOWN
The DA or SA receives a request for an unsupported SLP SPI. |
| static short | BUFFER_OVERFLOW
BUFFER_OVERFLOW |
| static short | DA_BUSY
UA or SA SHOULD retry, using exponential back off. |
| static short | INTERNAL_ERROR
The DA (or SA) is too sick to respond. |
| static short | INTERNAL_SYSTEM_ERROR
INTERNAL_SYSTEM_ERROR |
| static short | INVALID_REGISTRATION
The SrvReg has problems -- e.g., a zero lifetime or an omitted Language
Tag. |
| static short | INVALID_UPDATE
The DA received a SrvReg without FRESH set, for an unregistered service
or with inconsistent Service Types. |
| static short | LANGUAGE_NOT_SUPPORTED
There is data for the service type in the scope in the AttrRqst or
SrvRqst, but not in the requested language. |
| static short | NETWORK_ERROR
NETWORK_ERROR |
| static short | NETWORK_INIT_FAILED
NETWORK_INIT_FAILED |
| static short | NETWORK_TIMED_OUT
NETWORK_TIMED_OUT |
| static short | NOT_IMPLEMENTED
NOT_IMPLEMENTED |
| static short | OK
OK |
| static short | OPTION_NOT_SUPPORTED
The DA (or SA) received an unknown option from the mandatory range (see
section 9.1). |
| static short | PARSE_ERROR
The message fails to obey SLP syntax. |
| static short | PREVIOUS_RESPONDER_OVERFLOW
PREVIOUS_RESPONDER_OVERFLOW |
| static short | REFRESH_REJECTED
The SA sent a SrvReg or partial SrvDereg to a DA more frequently than the
DA's min-refresh-interval. |
| static short | REQUEST_NOT_SUPPORTED
The SA received an AttrRqst or SrvTypeRqst and does not support it. |
| static short | SCOPE_NOT_SUPPORTED
The SLP message did not include a scope in its |
| static short | TYPE_ERROR
TYPE_ERROR |
| static short | VERSION_NOT_SUPPORTED
Unsupported version number in message header. |
| Constructor Summary | |
|---|---|
| ServiceLocationException(short pErrorCode)
Ctor.
| |
| ServiceLocationException(short pErrorCode, Throwable pCause)
Ctor.
| |
| ServiceLocationException(short pErrorCode, String pMessage, Throwable pCause)
Ctor.
| |
| ServiceLocationException(short pErrorCode, String pMessage)
Ctor.
| |
| Method Summary | |
|---|---|
| short | getErrorCode()
Return the error code. |
Parameters: pErrorCode One of the ec constants in this class
Parameters: pErrorCode One of the ec constants in this class pCause The cause
Parameters: pErrorCode One of the ec constants in this class pMessage A more specific message pCause
Parameters: pErrorCode One of the error code constants in this class pMessage A more specific message
Returns: The error code