Class ServerFailedException

All Implemented Interfaces:
Serializable

public class ServerFailedException extends LookupFailedException
Represents a server failure. The upstream server responding to the request returned a Rcode.SERVFAIL status.
Since:
3.4
See Also:
  • Constructor Details

    • ServerFailedException

      public ServerFailedException()
    • ServerFailedException

      public ServerFailedException(Name name, int type)
      Creates a new instance of this class.
      Parameters:
      name - The name in the query that caused the failure.
      type - The type in the query that caused the failure.
      Since:
      3.6
    • ServerFailedException

      public ServerFailedException(Name name, int type, ExtendedErrorCodeOption extendedRcode)
      Creates a new instance of this class.
      Parameters:
      name - The name in the query that caused the failure.
      type - The type in the query that caused the failure.
      extendedRcode - An extended error code explaining why the server failed to return a result.
      Since:
      3.6
  • Method Details

    • getExtendedRcode

      public ExtendedErrorCodeOption getExtendedRcode()
      An extended error code explaining why the server failed to return a result. May be null.
      Since:
      3.6