|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.shiro.ShiroException org.apache.shiro.authz.AuthorizationException org.apache.shiro.authz.UnauthorizedException org.apache.shiro.authz.HostUnauthorizedException
public class HostUnauthorizedException
Thrown when a particular client (that is, host address) has not been enabled to access the system or if the client has been enabled access but is not permitted to perform a particular operation or access a particular resource.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
String |
getHost()
Returns the host associated with this exception. |
void |
setHostAddress(String host)
Sets the host associated with this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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 HostUnauthorizedException(String message, Throwable cause)
message
- the reason for the exceptioncause
- the underlying Throwable that caused this exception to be thrown.Method Detail |
---|
public String getHost()
public void setHostAddress(String host)
host
- the host associated with this exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |