Class ErrorResponse

  • All Implemented Interfaces:
    Serializable

    public class ErrorResponse
    extends Object
    implements Serializable
    A class that models data of an error response. See section 3.12 of RFC7644.
    Author:
    Val Pecaoco
    See Also:
    Serialized Form
    • Constructor Detail

      • ErrorResponse

        public ErrorResponse()
    • Method Detail

      • setSchemas

        public void setSchemas​(List<String> schemas)
      • getStatus

        public String getStatus()
        Retrieves the HTTP status code of the error. E.g. "500"
        Returns:
        A string value
      • setStatus

        public void setStatus​(String status)
      • getScimType

        public String getScimType()
        Retrieves the error type. E.g. "invalidFilter"
        Returns:
        A string value
      • setScimType

        public void setScimType​(ErrorScimType scimType)
      • getDetail

        public String getDetail()
        Retrieves a description of the error
        Returns:
        A string value
      • setDetail

        public void setDetail​(String detail)