public class CloudFoundryAuthorizationException
extends java.lang.RuntimeException
| Modifier and Type | Class and Description |
|---|---|
static class |
CloudFoundryAuthorizationException.Reason
Reasons why the exception can be thrown.
|
| Constructor and Description |
|---|
CloudFoundryAuthorizationException(CloudFoundryAuthorizationException.Reason reason,
java.lang.String message) |
CloudFoundryAuthorizationException(CloudFoundryAuthorizationException.Reason reason,
java.lang.String message,
java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
CloudFoundryAuthorizationException.Reason |
getReason()
Return the reason why the authorization exception was thrown.
|
org.springframework.http.HttpStatus |
getStatusCode()
Return the status code that should be returned to the client.
|
public CloudFoundryAuthorizationException(CloudFoundryAuthorizationException.Reason reason, java.lang.String message)
public CloudFoundryAuthorizationException(CloudFoundryAuthorizationException.Reason reason, java.lang.String message, java.lang.Throwable cause)
public org.springframework.http.HttpStatus getStatusCode()
public CloudFoundryAuthorizationException.Reason getReason()