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()
Gets the Name being looked up when this failure occurred.
|
int |
getType()
Gets the
Type being looked up when this failure occurred. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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.Copyright © 2022 dnsjava.org. All rights reserved.