OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
GatewayError Class Reference

exception static functions to read error information from remote response More...

#include <GatewayError.h>

Collaboration diagram for GatewayError:
Collaboration graph

Static Public Member Functions

static void read_error (const string &filename, string &err, const string &url)
 read the target response file that contains textual error information More...
 

Detailed Description

exception static functions to read error information from remote response

Two static methods are provided that can read the target response file if an error occurred.

Definition at line 46 of file GatewayError.h.

Member Function Documentation

void GatewayError::read_error ( const string &  filename,
string &  err,
const string &  url 
)
static

read the target response file that contains textual error information

The contents of the file are read directly into the error message.

Parameters
filenametarget response file name with the error information
errreturn the error message in this variable
urlthe remote request URL

Definition at line 47 of file GatewayError.cc.

Referenced by GatewayRequest::make_request().


The documentation for this class was generated from the following files: