\r\n

51Degrees Pipeline Java  4.3Newer Version 4.4

51Degrees Pipeline for Java

fiftyone.pipeline.cloudrequestengine.CloudRequestException Class Reference

Detailed Description

Exception that can be thrown when the available data does not match that which is expected.

Inheritance diagram for fiftyone.pipeline.cloudrequestengine.CloudRequestException:

[legend]

Collaboration diagram for fiftyone.pipeline.cloudrequestengine.CloudRequestException:

[legend]

Public Member Functions

int  getHttpStatusCode ()
Get the HTTP status code from the response. More...
Map< String, List< String > >  getResponseHeaders ()
Get all HTTP headers that were present in the response. More...
 CloudRequestException ()
Constructor.
 CloudRequestException (String message)
Constructor. More...
 CloudRequestException (String message, Throwable cause)
Constructor. More...
 CloudRequestException (Throwable cause)
Constructor. More...
 CloudRequestException (String message, int httpStatusCode, Map< String, List< String >> responseHeaders)
Constructor. More...

Public Member Functions inherited from fiftyone.pipeline.core.exceptions.PipelineDataException

 PipelineDataException ()
Constructor.
 PipelineDataException (String message)
Constructor. More...
 PipelineDataException (String message, Throwable cause)
Constructor. More...
 PipelineDataException (Throwable cause)
Constructor. More...

Constructor & Destructor Documentation

◆ CloudRequestException() [1/4]

fiftyone.pipeline.cloudrequestengine.CloudRequestException.CloudRequestException ( String   message )

Constructor.

Parameters
message - the exception message

◆ CloudRequestException() [2/4]

fiftyone.pipeline.cloudrequestengine.CloudRequestException.CloudRequestException ( String   message,
Throwable   cause  
)

Constructor.

Parameters
message - the exception message
cause - the exception which triggered this exception

◆ CloudRequestException() [3/4]

fiftyone.pipeline.cloudrequestengine.CloudRequestException.CloudRequestException ( Throwable   cause )

Constructor.

Parameters
cause - the exception which triggered this exception

◆ CloudRequestException() [4/4]

fiftyone.pipeline.cloudrequestengine.CloudRequestException.CloudRequestException ( String   message,
int   httpStatusCode,
Map< String, List< String >>   responseHeaders  
)

Constructor.

Parameters
message - the exception message
httpStatusCode - the status code returned in the HTTP response
responseHeaders - the HTTP headers returned in the response

Member Function Documentation

◆ getHttpStatusCode()

int fiftyone.pipeline.cloudrequestengine.CloudRequestException.getHttpStatusCode ( )

Get the HTTP status code from the response.

Returns
HTTP status code

◆ getResponseHeaders()

Map<String, List<String> > fiftyone.pipeline.cloudrequestengine.CloudRequestException.getResponseHeaders ( )

Get all HTTP headers that were present in the response.

Returns
collection of HTTP response headers