public class ServiceException extends MdwException
Modifier and Type | Field and Description |
---|---|
static int |
BAD_REQUEST |
static int |
CONFLICT |
static int |
FORBIDDEN |
static int |
INTERNAL_ERROR |
static int |
NOT_ALLOWED |
static int |
NOT_AUTHORIZED |
static int |
NOT_FOUND |
static int |
NOT_IMPLEMENTED |
Constructor and Description |
---|
ServiceException(int code,
java.lang.String message) |
ServiceException(int code,
java.lang.String message,
java.lang.Throwable cause) |
ServiceException(int code,
java.lang.Throwable cause) |
ServiceException(io.limberest.validate.Result validationResult) |
ServiceException(io.limberest.validate.Result validationResult,
io.limberest.validate.Result.Consolidator consolidator) |
ServiceException(Status status) |
ServiceException(java.lang.String message) |
ServiceException(java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
StatusResponse |
getStatusResponse() |
equals, findCause, findCause, getCode, getJson, getJsonName, getStackTrace, getStackTraceDetails, hashCode, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public static final int BAD_REQUEST
public static final int NOT_AUTHORIZED
public static final int FORBIDDEN
public static final int NOT_FOUND
public static final int NOT_ALLOWED
public static final int CONFLICT
public static final int INTERNAL_ERROR
public static final int NOT_IMPLEMENTED
public ServiceException(java.lang.String message)
public ServiceException(int code, java.lang.String message)
public ServiceException(java.lang.String message, java.lang.Throwable cause)
public ServiceException(int code, java.lang.Throwable cause)
public ServiceException(int code, java.lang.String message, java.lang.Throwable cause)
public ServiceException(Status status)
public ServiceException(io.limberest.validate.Result validationResult)
public ServiceException(io.limberest.validate.Result validationResult, io.limberest.validate.Result.Consolidator consolidator)
public StatusResponse getStatusResponse()
Copyright © 2019 CenturyLink, Inc.