Class Error.Builder

    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()  
    • Method Summary

      Modifier and Type Method Description
      Error build()
      Build a model object with the information set in the builder object.
      Error.Builder setMessage​(java.lang.String message)
      The error message setter.
      Error.Builder setStatus​(java.lang.Integer status)
      The error HTTP status code setter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setMessage

        public Error.Builder setMessage​(java.lang.String message)
        The error message setter.
        Parameters:
        message - A short description of the cause of the error.
        Returns:
        A Error.Builder.
      • build

        public Error build()
        Description copied from interface: IModelObject.Builder
        Build a model object with the information set in the builder object.
        The type of the model object and its methods depend on its corresponding implementation.
        Returns:
        A model object.