Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Error.h File Reference

#include <stdio.h>
#include <iostream>
#include <string>

Include dependency graph for Error.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  Error
 A class for error processing. More...

Internal DAP errors

#define can_not_read_file   1007
#define cannot_read_file   1008
#define internal_error   1002
 Internal server error.
#define malformed_expr   1005
#define no_authorization   1006
#define no_such_file   1003
#define no_such_variable   1004
#define undefined_error   1000
 Undefined error code.
#define unknown_error   1001
 Unknown error.

Typedefs

typedef int ErrorCode
 An enumerated type for common errors.

Enumerations

enum  ProgramType { undefined_prog_type = -1, no_program, java, tcl }


Define Documentation

#define can_not_read_file   1007
 

Definition at line 64 of file Error.h.

Referenced by DDS::parse(), and DAS::parse().

#define cannot_read_file   1008
 

Definition at line 65 of file Error.h.

#define internal_error   1002
 

Definition at line 59 of file Error.h.

#define malformed_expr   1005
 

Definition at line 62 of file Error.h.

Referenced by Array::add_constraint(), libdap::extract_double_array(), libdap::extract_double_value(), libdap::extract_string_argument(), and Sequence::set_row_number_constraint().

#define no_authorization   1006
 

Definition at line 63 of file Error.h.

#define no_such_file   1003
 

Definition at line 60 of file Error.h.

#define no_such_variable   1004
 

Definition at line 61 of file Error.h.

#define undefined_error   1000
 

Definition at line 57 of file Error.h.

Referenced by Error::Error(), and Error::set_error_code().

#define unknown_error   1001
 

Definition at line 58 of file Error.h.

Referenced by Error::Error(), parse_error(), DODSFilter::print_usage(), and DODSFilter::send_data().


Typedef Documentation

typedef int ErrorCode
 

The most common errors within DAP2 have special codes so that they can be spotted easily by the client software. Any error without a matching code gets the unknown_error code.

Definition at line 53 of file Error.h.


Enumeration Type Documentation

enum ProgramType
 

Deprecated:
Use of the error-correction program feature is deprecated.
Enumeration values:
undefined_prog_type 
no_program 
java 
tcl 

Definition at line 69 of file Error.h.


Generated on Thu Aug 2 06:43:44 2007 for libdap++ by  doxygen 1.3.9.1