Class WellComposedErrorBody


  • public class WellComposedErrorBody
    extends Object
    Object acting as a payload for the ResponseErrorObject.
    Author:
    tesarst
    • Constructor Detail

      • WellComposedErrorBody

        public WellComposedErrorBody()
    • Method Detail

      • addError

        public void addError​(Throwable t,
                             @Nullable
                             String location,
                             @Nullable
                             LocationType locationType)
        Adds descriptive values from the throwable object to the instance of WellComposedErrorBody.
        Parameters:
        t - the throwable to read the description from.