@Immutable public class FailureInfo extends Object
| Constructor and Description |
|---|
FailureInfo(String type,
String message,
FailureInfo cause,
List<FailureInfo> suppressed,
List<String> stack,
ErrorLocation errorLocation) |
| Modifier and Type | Method and Description |
|---|---|
FailureInfo |
getCause() |
ErrorLocation |
getErrorLocation() |
String |
getMessage() |
List<String> |
getStack() |
List<FailureInfo> |
getSuppressed() |
String |
getType() |
RuntimeException |
toException() |
static StackTraceElement |
toStackTraceElement(String stack) |
public FailureInfo(String type, String message, FailureInfo cause, List<FailureInfo> suppressed, List<String> stack, @Nullable ErrorLocation errorLocation)
public String getType()
@Nullable public FailureInfo getCause()
public List<FailureInfo> getSuppressed()
@Nullable public ErrorLocation getErrorLocation()
public RuntimeException toException()
public static StackTraceElement toStackTraceElement(String stack)
Copyright © 2012–2019. All rights reserved.