The ServiceLocationException class is thrown by all methods when exceptional
conditions occur in the SLP framework. The error code property determines the
exact nature of the condition, and an optional message may provide more
information.
AUTHENTICATION_ABSENT
public static final short AUTHENTICATION_ABSENT
AUTHENTICATION_FAILED
public static final short AUTHENTICATION_FAILED
AUTHENTICATION_UNKNOWN
public static final short AUTHENTICATION_UNKNOWN
BUFFER_OVERFLOW
public static final short BUFFER_OVERFLOW
DA_BUSY
public static final short DA_BUSY
INTERNAL_ERROR
public static final short INTERNAL_ERROR
INTERNAL_SYSTEM_ERROR
public static final short INTERNAL_SYSTEM_ERROR
INVALID_REGISTRATION
public static final short INVALID_REGISTRATION
INVALID_UPDATE
public static final short INVALID_UPDATE
LANGUAGE_NOT_SUPPORTED
public static final short LANGUAGE_NOT_SUPPORTED
NETWORK_ERROR
public static final short NETWORK_ERROR
NETWORK_INIT_FAILED
public static final short NETWORK_INIT_FAILED
NETWORK_TIMED_OUT
public static final short NETWORK_TIMED_OUT
NOT_IMPLEMENTED
public static final short NOT_IMPLEMENTED
OK
public static final short OK
OPTION_NOT_SUPPORTED
public static final short OPTION_NOT_SUPPORTED
PARSE_ERROR
public static final short PARSE_ERROR
PREVIOUS_RESPONDER_OVERFLOW
public static final short PREVIOUS_RESPONDER_OVERFLOW
REFRESH_REJECTED
public static final short REFRESH_REJECTED
REQUEST_NOT_SUPPORTED
public static final short REQUEST_NOT_SUPPORTED
SCOPE_NOT_SUPPORTED
public static final short SCOPE_NOT_SUPPORTED
TYPE_ERROR
public static final short TYPE_ERROR
VERSION_NOT_SUPPORTED
public static final short VERSION_NOT_SUPPORTED
ServiceLocationException
public ServiceLocationException(short pErrorCode)
Ctor.
pErrorCode
- One of the ec constants in this class
ServiceLocationException
public ServiceLocationException(short pErrorCode,
String pMessage)
Ctor.
pErrorCode
- One of the ec constants in this classpMessage
- A more specific message
ServiceLocationException
public ServiceLocationException(short pErrorCode,
String pMessage,
Object pExtendedReason)
Ctor.
pErrorCode
- One of the ec constants in this classpMessage
- A more specific messagepExtendedReason
- Extended reason
ServiceLocationException
public ServiceLocationException(short pErrorCode,
String pMessage,
pExtendedReason[] )
Ctor.
pErrorCode
- One of the ec constants in this classpMessage
- A more specific message
ServiceLocationException
public ServiceLocationException(short pErrorCode,
Throwable pCause)
Ctor.
pErrorCode
- One of the ec constants in this classpCause
- The cause