public class CoerceFailedException extends Exception
Constructor and Description |
---|
CoerceFailedException(String message) |
CoerceFailedException(String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static CoerceFailedException |
simple(Object object,
Type resultType) |
static CoerceFailedException |
simple(Object object,
Type resultType,
String detail) |
static CoerceFailedException |
simple(Object object,
com.google.common.reflect.TypeToken<?> resultType) |
static CoerceFailedException |
simple(Object object,
com.google.common.reflect.TypeToken<?> resultType,
String detail) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CoerceFailedException(String message)
public static CoerceFailedException simple(Object object, Type resultType)
public static CoerceFailedException simple(Object object, com.google.common.reflect.TypeToken<?> resultType)
public static CoerceFailedException simple(Object object, Type resultType, String detail)
public static CoerceFailedException simple(Object object, com.google.common.reflect.TypeToken<?> resultType, String detail)