public class LookupFailedException extends RuntimeException
| Constructor and Description |
|---|
LookupFailedException() |
LookupFailedException(Name name,
int type)
Construct a LookupFailedException that also specifies the name and type of the lookup that
failed.
|
LookupFailedException(String message) |
| Modifier and Type | Method and Description |
|---|---|
Name |
getName()
Returns the Name being looked up when this failure occurred.
|
int |
getType()
Returns the Type being looked up when this failure occurred.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LookupFailedException()
public LookupFailedException(String message)
public LookupFailedException(Name name, int type)
name - the name that caused the failure.type - the type that caused the failure.public Name getName()
public int getType()
Copyright © 2021 dnsjava.org. All rights reserved.