Package io.jans.as.model.error
Class DefaultErrorResponse
- java.lang.Object
- 
- io.jans.as.model.error.ErrorResponse
- 
- io.jans.as.model.error.DefaultErrorResponse
 
 
- 
 public class DefaultErrorResponse extends ErrorResponse - Version:
- August 20, 2019
- Author:
- Yuriy Zabrovarnyy
 
- 
- 
Constructor SummaryConstructors Constructor Description DefaultErrorResponse()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorCode()Returns the error code of the response.IErrorTypegetType()Returns the error response type.voidsetType(IErrorType type)Sets theIErrorTypethat represents the code of the error that occurred.- 
Methods inherited from class io.jans.as.model.error.ErrorResponsegetErrorDescription, getErrorUri, getReason, getState, getStatus, setErrorCode, setErrorDescription, setErrorUri, setReason, setState, setStatus, toJSonString, toQueryString
 
- 
 
- 
- 
- 
Method Detail- 
getTypepublic IErrorType getType() Returns the error response type.- Returns:
- The error response type.
 
 - 
setTypepublic void setType(IErrorType type) Sets theIErrorTypethat represents the code of the error that occurred.- Parameters:
- type- The error response type.
 
 - 
getErrorCodepublic String getErrorCode() Description copied from class:ErrorResponseReturns the error code of the response.- Overrides:
- getErrorCodein class- ErrorResponse
- Returns:
- The error code.
 
 
- 
 
-