Package ubic.gemma.rest.util
Class WellComposedErrorBody
- java.lang.Object
-
- ubic.gemma.rest.util.WellComposedErrorBody
-
public class WellComposedErrorBody extends Object
Object acting as a payload for the ResponseErrorObject.- Author:
- tesarst
-
-
Constructor Summary
Constructors Constructor Description WellComposedErrorBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addError(Throwable t, String location, LocationType locationType)
Adds descriptive values from the throwable object to the instance of 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.
-
-