Package jadex.extension.rs.invoke
Class RestInvocationHelper.RequestFailedException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- jadex.extension.rs.invoke.RestInvocationHelper.RequestFailedException
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 - Enclosing class:
- RestInvocationHelper
 
 public static class RestInvocationHelper.RequestFailedException extends java.lang.RuntimeExceptionException- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringcontentThe received contentprotected intstatuscodeReturn status code
 - 
Constructor SummaryConstructors Constructor Description RequestFailedException(java.lang.String message, int statuscode, java.lang.String content)Create the exception.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContent()Gets the received content.intgetStatuscode()Gets the received status code.voidsetContent(java.lang.String content)Sets the received content.voidsetStatuscode(int statuscode)Sets the received status code.
 
- 
- 
- 
Method Detail- 
getStatuscodepublic int getStatuscode() Gets the received status code.- Returns:
- The received status code.
 
 - 
setStatuscodepublic void setStatuscode(int statuscode) Sets the received status code.- Parameters:
- statuscode- The received status code.
 
 - 
getContentpublic java.lang.String getContent() Gets the received content.- Returns:
- The received content.
 
 - 
setContentpublic void setContent(java.lang.String content) Sets the received content.- Parameters:
- statuscode- The received content.
 
 
- 
 
-