PAYLOAD
- represents type of error payload transferred in failure lens responsepublic class LensErrorTO<PAYLOAD> extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
areValidStackTracesPresent() |
static LensErrorTO<NoErrorPayload> |
composedOf(int code,
String message,
String stackTrace) |
static LensErrorTO<NoErrorPayload> |
composedOf(int code,
String message,
String stackTrace,
List<LensErrorTO> childErrors) |
static <PAYLOAD> LensErrorTO<PAYLOAD> |
composedOf(int code,
String message,
String stackTrace,
PAYLOAD payload) |
static <PAYLOAD> LensErrorTO<PAYLOAD> |
composedOf(int code,
String message,
String stackTrace,
PAYLOAD payload,
List<LensErrorTO> childErrors) |
boolean |
equals(Object o) |
List<LensErrorTO> |
getChildErrors() |
int |
getCode() |
String |
getMessage() |
PAYLOAD |
getPayload() |
int |
hashCode() |
String |
toString() |
public static <PAYLOAD> LensErrorTO<PAYLOAD> composedOf(int code, String message, String stackTrace, PAYLOAD payload, List<LensErrorTO> childErrors)
public static <PAYLOAD> LensErrorTO<PAYLOAD> composedOf(int code, String message, String stackTrace, PAYLOAD payload)
public static LensErrorTO<NoErrorPayload> composedOf(int code, String message, String stackTrace)
public static LensErrorTO<NoErrorPayload> composedOf(int code, String message, String stackTrace, List<LensErrorTO> childErrors)
public boolean areValidStackTracesPresent()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
@Generated(value="lombok") public int getCode()
@Generated(value="lombok") public String getMessage()
@Generated(value="lombok") public PAYLOAD getPayload()
@Generated(value="lombok") public List<LensErrorTO> getChildErrors()
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.