Package org.eclipse.steady.backend
Class BackendConnectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.steady.backend.BackendConnectionException
-
- All Implemented Interfaces:
Serializable
public class BackendConnectionException extends Exception
BackendConnectionException class.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BackendConnectionException(String _message, Throwable _cause)Constructor for BackendConnectionException.BackendConnectionException(HttpMethod _method, URI _uri, int _response_status, Throwable _cause)Constructor for BackendConnectionException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHttpResponseBody()Getter for the fieldhttpResponseBody.intgetHttpResponseStatus()Getter for the fieldhttpResponseStatus.voidsetHttpResponseBody(String httpResponseBody)Setter for the fieldhttpResponseBody.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BackendConnectionException
public BackendConnectionException(String _message, Throwable _cause)
Constructor for BackendConnectionException.
-
BackendConnectionException
public BackendConnectionException(HttpMethod _method, URI _uri, int _response_status, Throwable _cause)
Constructor for BackendConnectionException.
- Parameters:
_method- aHttpMethodobject._uri- aURIobject._response_status- a int._cause- aThrowableobject.
-
-
Method Detail
-
getHttpResponseBody
public String getHttpResponseBody()
Getter for the field
httpResponseBody.- Returns:
- a
Stringobject.
-
setHttpResponseBody
public void setHttpResponseBody(String httpResponseBody)
Setter for the field
httpResponseBody.- Parameters:
httpResponseBody- aStringobject.
-
getHttpResponseStatus
public int getHttpResponseStatus()
Getter for the field
httpResponseStatus.- Returns:
- a int.
-
-