X-Git-Url: https://git.saurik.com/apple/mdnsresponder.git/blobdiff_plain/8e92c31c9a45a66732f5bc7afbc9f5596c17e91d..cc340f17b1c2189bb2fe03df9e50871ecda4f8e7:/mDNSShared/Java/DNSSDException.java diff --git a/mDNSShared/Java/DNSSDException.java b/mDNSShared/Java/DNSSDException.java index f3ccbcb..0ab0587 100644 --- a/mDNSShared/Java/DNSSDException.java +++ b/mDNSShared/Java/DNSSDException.java @@ -3,8 +3,6 @@ * * @APPLE_LICENSE_HEADER_START@ * - * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. - * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in @@ -25,6 +23,9 @@ Change History (most recent first): $Log: DNSSDException.java,v $ +Revision 1.3 2005/07/10 22:19:01 cheshire +Add missing error codes to list of public static final ints + Revision 1.2 2004/04/30 21:48:27 rpantos Change line endings for CVS. @@ -52,11 +53,23 @@ abstract public class DNSSDException extends Exception public static final int BAD_FLAGS = -65543; public static final int UNSUPPORTED = -65544; public static final int NOT_INITIALIZED = -65545; + public static final int NO_CACHE = -65546; public static final int ALREADY_REGISTERED = -65547; public static final int NAME_CONFLICT = -65548; public static final int INVALID = -65549; + public static final int FIREWALL = -65550; public static final int INCOMPATIBLE = -65551; public static final int BAD_INTERFACE_INDEX = -65552; + public static final int REFUSED = -65553; + public static final int NOSUCHRECORD = -65554; + public static final int NOAUTH = -65555; + public static final int NOSUCHKEY = -65556; + public static final int NATTRAVERSAL = -65557; + public static final int DOUBLENAT = -65558; + public static final int BADTIME = -65559; + public static final int BADSIG = -65560; + public static final int BADKEY = -65561; + public static final int TRANSIENT = -65562; /** Returns the sub-code that identifies the particular error. */ abstract public int getErrorCode();