org.cruxframework.crux.core.server.rest.spi
Class RestFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.cruxframework.crux.core.server.rest.spi.RestFailure
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BadRequestException, ForbiddenException, InternalServerErrorException, MethodNotAllowedException, NotAcceptableException, NotFoundException, UnauthorizedException, UnsupportedMediaTypeException
public class RestFailure
- extends RuntimeException
- Author:
- Thiago da Rosa de Bustamante
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RestFailure
public RestFailure(int responseCode)
RestFailure
public RestFailure(String s,
Throwable throwable,
int responseCode)
RestFailure
public RestFailure(String message,
String resp,
Throwable throwable,
int responseCode)
RestFailure
public RestFailure(String s,
int responseCode)
RestFailure
public RestFailure(Throwable throwable,
int responseCode)
getResponseCode
public int getResponseCode()
getResponseMessage
public String getResponseMessage()
setResponseMessage
public void setResponseMessage(String responseMessage)
Copyright © 2015. All rights reserved.