public class HostUnauthorizedException extends UnauthorizedException
| Constructor and Description |
|---|
HostUnauthorizedException()
Creates a new HostUnauthorizedException.
|
HostUnauthorizedException(String message)
Constructs a new HostUnauthorizedException.
|
HostUnauthorizedException(String message,
Throwable cause)
Constructs a new HostUnauthorizedException.
|
HostUnauthorizedException(Throwable cause)
Constructs a new HostUnauthorizedException.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHost()
Returns the host associated with this exception.
|
void |
setHostAddress(String host)
Sets the host associated with this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HostUnauthorizedException()
public HostUnauthorizedException(String message)
message - the reason for the exceptionpublic HostUnauthorizedException(Throwable cause)
cause - the underlying Throwable that caused this exception to be thrown.public String getHost()
public void setHostAddress(String host)
host - the host associated with this exception.Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.