Package com.xero.models.bankfeeds
Class Error
java.lang.Object
com.xero.models.bankfeeds.Error
On error, the API consumer will receive an HTTP response with a HTTP Status Code of 4xx or 5xx
and a Content-Type of application/problem+json.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionHuman readable detailed error description.booleanHuman readable detailed error description.The numeric HTTP Status Code, e.g.getTitle()Human readable high level error description.getType()Identifies the type of error.inthashCode()voidHuman readable detailed error description.voidThe numeric HTTP Status Code, e.g.voidHuman readable high level error description.voidsetType(Error.TypeEnum type) Identifies the type of error.The numeric HTTP Status Code, e.g.Human readable high level error description.toString()type(Error.TypeEnum type) Identifies the type of error.
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
title
-
getTitle
-
setTitle
Human readable high level error description.- Parameters:
title- String
-
status
-
getStatus
-
setStatus
The numeric HTTP Status Code, e.g. 404- Parameters:
status- Integer
-
detail
-
getDetail
-
setDetail
Human readable detailed error description.- Parameters:
detail- String
-
type
Identifies the type of error.- Parameters:
type- TypeEnum- Returns:
- Error
-
getType
-
setType
-
equals
-
hashCode
-
toString
-