com.solers.slp
Class ServiceLocationException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.solers.slp.ServiceLocationException
- All Implemented Interfaces:
- Serializable
- public class ServiceLocationException
- extends Exception
Implementation of the ServiceLocationException class defined
in RFC 2614.
A ServiceLocationException is thrown by all methods when
errors occur.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
LANGUAGE_NOT_SUPPORTED
public static final short LANGUAGE_NOT_SUPPORTED
PARSE_ERROR
public static final short PARSE_ERROR
INVALID_REGISTRATION
public static final short INVALID_REGISTRATION
SCOPE_NOT_SUPPORTED
public static final short SCOPE_NOT_SUPPORTED
AUTHENTICATION_ABSENT
public static final short AUTHENTICATION_ABSENT
AUTHENTICATION_FAILED
public static final short AUTHENTICATION_FAILED
INVALID_UPDATE
public static final short INVALID_UPDATE
REFRESH_REJECTED
public static final short REFRESH_REJECTED
NOT_IMPLEMENTED
public static final short NOT_IMPLEMENTED
NETWORK_INIT_FAILED
public static final short NETWORK_INIT_FAILED
NETWORK_TIMED_OUT
public static final short NETWORK_TIMED_OUT
NETWORK_ERROR
public static final short NETWORK_ERROR
INTERNAL_SYSTEM_ERROR
public static final short INTERNAL_SYSTEM_ERROR
TYPE_ERROR
public static final short TYPE_ERROR
BUFFER_OVERFLOW
public static final short BUFFER_OVERFLOW
code
private short code
ServiceLocationException
public ServiceLocationException(String why,
short errorCode)
getErrorCode
public short getErrorCode()
- Return the error code. The error code takes on one of the static
field values.
toString
public String toString()
- Overrides:
toString
in class Throwable