Package com.yahoo.vespa.http.client.core
Class Exceptions
java.lang.Object
com.yahoo.vespa.http.client.core.Exceptions
Helper methods for handling exceptions
- Author:
- bratseth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Returns a use friendly error message string which includes information from all nested exceptions.
-
Constructor Details
-
Exceptions
public Exceptions()
-
-
Method Details
-
toMessageString
Returns a use friendly error message string which includes information from all nested exceptions.
The form of this string is
e.getMessage(): e.getCause().getMessage(): e.getCause().getCause().getMessage()...
In addition, some heuristics are used to clean up common cases where exception nesting causes bad messages.
-