public class Diagnostic extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Diagnostic.Code
Enum class for the reason code. |
Modifier and Type | Field and Description |
---|---|
Diagnostic.Code |
code
The reason code.
|
String |
extra
Optional complementary information.
|
Modifier and Type | Method and Description |
---|---|
static List<Diagnostic> |
diagnose()
Returns a list of potential reasons of dysfunction.
|
public Diagnostic.Code code
public String extra
When the code field is PROXY, represents the type and address of the proxy server.
Example: HTTP@192.168.0.10:8080
public static List<Diagnostic> diagnose()
Note that it is automatically called when running in developer mode
,
in which case diagnostics are output in the log as warning lines.