public class PolicyFailure extends Object implements Serializable
| Constructor and Description |
|---|
PolicyFailure()
Constructor.
|
PolicyFailure(PolicyFailureType type,
int failureCode,
String message)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFailureCode() |
Map<String,String> |
getHeaders() |
String |
getMessage() |
int |
getResponseCode() |
PolicyFailureType |
getType() |
void |
setFailureCode(int failureCode) |
void |
setHeaders(Map<String,String> headers) |
void |
setMessage(String message) |
void |
setResponseCode(int responseCode) |
void |
setType(PolicyFailureType type) |
public PolicyFailure()
public PolicyFailure(PolicyFailureType type, int failureCode, String message)
type - failureCode - message - public String getMessage()
public void setMessage(String message)
message - the message to setpublic int getFailureCode()
public void setFailureCode(int failureCode)
failureCode - the failureCode to setpublic PolicyFailureType getType()
public void setType(PolicyFailureType type)
type - the type to setpublic void setHeaders(Map<String,String> headers)
headers - the headers to setpublic int getResponseCode()
public void setResponseCode(int responseCode)
responseCode - the responseCode to setCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.