public class ExceptionModel extends Object
Constructor and Description |
---|
ExceptionModel(String exceptionName) |
Modifier and Type | Method and Description |
---|---|
String |
getDocumentation() |
String |
getExceptionName() |
Integer |
getHttpStatusCode() |
void |
setDocumentation(String documentation) |
void |
setExceptionName(String exceptionName) |
void |
setHttpStatusCode(Integer httpStatusCode) |
ExceptionModel |
withDocumentation(String documentation) |
ExceptionModel |
withHttpStatusCode(Integer httpStatusCode) |
public ExceptionModel(String exceptionName)
public String getExceptionName()
public void setExceptionName(String exceptionName)
public String getDocumentation()
public void setDocumentation(String documentation)
public ExceptionModel withDocumentation(String documentation)
public Integer getHttpStatusCode()
public void setHttpStatusCode(Integer httpStatusCode)
public ExceptionModel withHttpStatusCode(Integer httpStatusCode)
Copyright © 2018. All rights reserved.