public class BeowulfResponseException extends Exception
| Constructor and Description |
|---|
BeowulfResponseException(Integer code,
String message,
com.fasterxml.jackson.databind.JsonNode data)
Create a new
BeowulfResponseException instance. |
BeowulfResponseException(Integer code,
String message,
com.fasterxml.jackson.databind.JsonNode data,
Throwable cause)
Create a new
BeowulfResponseException instance. |
BeowulfResponseException(String message)
Create a new
BeowulfResponseException instance. |
BeowulfResponseException(String message,
Throwable cause)
Create a new
BeowulfResponseException instance. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCode()
Get the error code.
|
com.fasterxml.jackson.databind.JsonNode |
getData()
Get the data attached to the response error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BeowulfResponseException(String message)
BeowulfResponseException instance.message - The error message to set.public BeowulfResponseException(String message, Throwable cause)
BeowulfResponseException instance.message - The error message to set.cause - The cause of this response exception.public BeowulfResponseException(Integer code, String message, com.fasterxml.jackson.databind.JsonNode data)
BeowulfResponseException instance.code - The error code to set.message - The error message to set.data - The additional data to set.public BeowulfResponseException(Integer code, String message, com.fasterxml.jackson.databind.JsonNode data, Throwable cause)
BeowulfResponseException instance.code - The error code to set.message - The error message to set.data - The additional data to set.cause - The cause of this response exception.public Integer getCode()
null otherwise.public com.fasterxml.jackson.databind.JsonNode getData()
Copyright © 2019. All rights reserved.