public class PolicyProcessingException
extends java.lang.Exception
Constructor and Description |
---|
PolicyProcessingException(java.lang.String id, int httpCode, java.lang.String message)
Constructs a PolicyProcessingException with the provided details
|
PolicyProcessingException(java.lang.String id, int httpCode, java.lang.String message, java.lang.String detail)
Constructs a PolicyProcessingException with the provided details
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDetail()
Returns the detail
|
int |
getHttpCode()
Returns the HTTP code
|
java.lang.String |
getId()
Returns the ID
|
public PolicyProcessingException(java.lang.String id, int httpCode, java.lang.String message, java.lang.String detail)
id
- The value that will be in EDR as ERROR_IDhttpCode
- The HTTP code that will be sent back to the clientmessage
- The short message that will be logged as part of the EDRdetail
- The value that will be loged in EDR as ERROR_DETAILpublic PolicyProcessingException(java.lang.String id, int httpCode, java.lang.String message)
id
- The value that will be in EDR as ERROR_IDhttpCode
- httpCode The HTTP code that will be sent back to the clientmessage
- detail The short message that will be logged as part of the EDR