summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Exception.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2006-06-05 16:17:36 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2006-06-05 16:17:36 (GMT)
commit32d3e6f04f2cc68d05fd59c567c2bdf4e4a50443 (patch)
tree7dfbe078ff910c575768c51fb1c38c0f4f8c1f58 /c++/src/H5Exception.h
parentf5a16e9bfa5ee701d6ee40ddd98cfcb03aad6e1b (diff)
downloadhdf5-32d3e6f04f2cc68d05fd59c567c2bdf4e4a50443.zip
hdf5-32d3e6f04f2cc68d05fd59c567c2bdf4e4a50443.tar.gz
hdf5-32d3e6f04f2cc68d05fd59c567c2bdf4e4a50443.tar.bz2
[svn-r12404] Purpose: Fix typos/formats
Description: Fixed typos and re-arranged some functions to be in sync with 1.6. Platforms tested: Linux 2.4 (heping) SunOS 5.9 (shanti) AIX 5.1 (copper)
Diffstat (limited to 'c++/src/H5Exception.h')
-rw-r--r--c++/src/H5Exception.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/c++/src/H5Exception.h b/c++/src/H5Exception.h
index 66219c7..5e5dfce 100644
--- a/c++/src/H5Exception.h
+++ b/c++/src/H5Exception.h
@@ -31,7 +31,7 @@ class H5_DLLCPP Exception {
public:
// Creates an exception with a function name where the failure occurs
// and an optional detailed message
- Exception(const H5std_string func_name, const H5std_string message = DEFAULT_MSG);
+ Exception(const H5std_string& func_name, const H5std_string& message = DEFAULT_MSG);
// Returns a character string that describes the error specified by
// a major error number.
@@ -94,70 +94,70 @@ class H5_DLLCPP Exception {
class H5_DLLCPP FileIException : public Exception {
public:
- FileIException( const H5std_string func_name, const H5std_string message = DEFAULT_MSG);
+ FileIException( const H5std_string& func_name, const H5std_string& message = DEFAULT_MSG);
FileIException();
virtual ~FileIException();
};
class H5_DLLCPP GroupIException : public Exception {
public:
- GroupIException( const H5std_string func_name, const H5std_string message = DEFAULT_MSG);
+ GroupIException( const H5std_string& func_name, const H5std_string& message = DEFAULT_MSG);
GroupIException();
virtual ~GroupIException();
};
class H5_DLLCPP DataSpaceIException : public Exception {
public:
- DataSpaceIException(const H5std_string func_name, const H5std_string message = DEFAULT_MSG);
+ DataSpaceIException(const H5std_string& func_name, const H5std_string& message = DEFAULT_MSG);
DataSpaceIException();
virtual ~DataSpaceIException();
};
class H5_DLLCPP DataTypeIException : public Exception {
public:
- DataTypeIException(const H5std_string func_name, const H5std_string message = DEFAULT_MSG);
+ DataTypeIException(const H5std_string& func_name, const H5std_string& message = DEFAULT_MSG);
DataTypeIException();
virtual ~DataTypeIException();
};
class H5_DLLCPP PropListIException : public Exception {
public:
- PropListIException(const H5std_string func_name, const H5std_string message = DEFAULT_MSG);
+ PropListIException(const H5std_string& func_name, const H5std_string& message = DEFAULT_MSG);
PropListIException();
virtual ~PropListIException();
};
class H5_DLLCPP DataSetIException : public Exception {
public:
- DataSetIException(const H5std_string func_name, const H5std_string message = DEFAULT_MSG);
+ DataSetIException(const H5std_string& func_name, const H5std_string& message = DEFAULT_MSG);
DataSetIException();
virtual ~DataSetIException();
};
class H5_DLLCPP AttributeIException : public Exception {
public:
- AttributeIException(const H5std_string func_name, const H5std_string message = DEFAULT_MSG);
+ AttributeIException(const H5std_string& func_name, const H5std_string& message = DEFAULT_MSG);
AttributeIException();
virtual ~AttributeIException();
};
class H5_DLLCPP ReferenceException : public Exception {
public:
- ReferenceException(const H5std_string func_name, const H5std_string message = DEFAULT_MSG);
+ ReferenceException(const H5std_string& func_name, const H5std_string& message = DEFAULT_MSG);
ReferenceException();
virtual ~ReferenceException();
};
class H5_DLLCPP LibraryIException : public Exception {
public:
- LibraryIException(const H5std_string func_name, const H5std_string message = DEFAULT_MSG);
+ LibraryIException(const H5std_string& func_name, const H5std_string& message = DEFAULT_MSG);
LibraryIException();
virtual ~LibraryIException();
};
class H5_DLLCPP IdComponentException : public Exception {
public:
- IdComponentException(const H5std_string func_name, const H5std_string message = DEFAULT_MSG);
+ IdComponentException(const H5std_string& func_name, const H5std_string& message = DEFAULT_MSG);
IdComponentException();
virtual ~IdComponentException();
};