com.apple.dnssd
Class DNSSDException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.apple.dnssd.DNSSDException
All Implemented Interfaces:
java.io.Serializable

public abstract class DNSSDException
extends java.lang.Exception

Used to report various DNS-SD-related error conditions.

See Also:
Serialized Form

Field Summary
static int ALREADY_REGISTERED
           
static int BAD_FLAGS
           
static int BAD_INTERFACE_INDEX
           
static int BAD_PARAM
           
static int BAD_REFERENCE
           
static int BAD_STATE
           
static int INCOMPATIBLE
           
static int INVALID
           
static int NAME_CONFLICT
           
static int NO_ERROR
           
static int NO_MEMORY
           
static int NO_SUCH_NAME
           
static int NOT_INITIALIZED
           
static int UNKNOWN
           
static int UNSUPPORTED
           
 
Constructor Summary
DNSSDException()
           
 
Method Summary
abstract  int getErrorCode()
          Returns the sub-code that identifies the particular error.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_ERROR

public static final int NO_ERROR
See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

NO_SUCH_NAME

public static final int NO_SUCH_NAME
See Also:
Constant Field Values

NO_MEMORY

public static final int NO_MEMORY
See Also:
Constant Field Values

BAD_PARAM

public static final int BAD_PARAM
See Also:
Constant Field Values

BAD_REFERENCE

public static final int BAD_REFERENCE
See Also:
Constant Field Values

BAD_STATE

public static final int BAD_STATE
See Also:
Constant Field Values

BAD_FLAGS

public static final int BAD_FLAGS
See Also:
Constant Field Values

UNSUPPORTED

public static final int UNSUPPORTED
See Also:
Constant Field Values

NOT_INITIALIZED

public static final int NOT_INITIALIZED
See Also:
Constant Field Values

ALREADY_REGISTERED

public static final int ALREADY_REGISTERED
See Also:
Constant Field Values

NAME_CONFLICT

public static final int NAME_CONFLICT
See Also:
Constant Field Values

INVALID

public static final int INVALID
See Also:
Constant Field Values

INCOMPATIBLE

public static final int INCOMPATIBLE
See Also:
Constant Field Values

BAD_INTERFACE_INDEX

public static final int BAD_INTERFACE_INDEX
See Also:
Constant Field Values
Constructor Detail

DNSSDException

public DNSSDException()
Method Detail

getErrorCode

public abstract int getErrorCode()
Returns the sub-code that identifies the particular error.