Class Error.ErrorBuilder
- java.lang.Object
-
- uk.gov.gchq.gaffer.core.exception.Error.ErrorBuilder
-
-
Constructor Summary
Constructors Constructor Description ErrorBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Error
build()
Error.ErrorBuilder
detailMessage(String detailMessage)
Error.ErrorBuilder
simpleMessage(String simpleMessage)
Error.ErrorBuilder
status(Status status)
Error.ErrorBuilder
statusCode(int statusCode)
String
toString()
-
-
-
Method Detail
-
statusCode
public Error.ErrorBuilder statusCode(int statusCode)
-
status
public Error.ErrorBuilder status(Status status)
-
simpleMessage
public Error.ErrorBuilder simpleMessage(String simpleMessage)
-
detailMessage
public Error.ErrorBuilder detailMessage(String detailMessage)
-
build
public Error build()
-
-