public class RequestFailedException
extends java.lang.RuntimeException
Constructor and Description |
---|
RequestFailedException(java.lang.String message) |
RequestFailedException(java.lang.String message,
java.lang.Throwable cause) |
RequestFailedException(TaskRepository repository,
java.lang.String message) |
RequestFailedException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static RequestFailedException |
forServerMessage(java.lang.String message) |
static RequestFailedException |
forStatusCode(int code,
java.lang.String message) |
TaskRepository |
getRepository() |
public RequestFailedException(TaskRepository repository, java.lang.String message)
public RequestFailedException(java.lang.String message)
public RequestFailedException(java.lang.String message, java.lang.Throwable cause)
public RequestFailedException(java.lang.Throwable cause)
public static RequestFailedException forStatusCode(int code, java.lang.String message)
public static RequestFailedException forServerMessage(java.lang.String message)
public TaskRepository getRepository()