org.jboss.jbossts.star.provider
Class HttpResponseException
java.lang.Object
java.lang.Throwable
java.lang.Error
org.jboss.jbossts.star.provider.HttpResponseException
- All Implemented Interfaces:
- Serializable
public class HttpResponseException
- extends Error
Exception for wrapping unexpected http response codes
- See Also:
- Serialized Form
HttpResponseException
public HttpResponseException(Throwable cause,
String body,
int expectedResponse,
int actualResponse)
HttpResponseException
public HttpResponseException(Throwable cause,
String body,
int[] expectedResponses,
int actualResponse)
HttpResponseException
public HttpResponseException(int expectedResponse,
int actualResponse)
getExpectedResponse
public int getExpectedResponse()
getActualResponse
public int getActualResponse()
getBody
public String getBody()
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
Copyright © 2012. All Rights Reserved.