summaryrefslogtreecommitdiffstats
path: root/java/src/hdf/hdf5lib/structs/H5E_error2_t.java
blob: b7cd60ac3f53778a9a1ce2bc4deb9b408d6255ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Copyright by The HDF Group.                                               *
 * Copyright by the Board of Trustees of the University of Illinois.         *
 * All rights reserved.                                                      *
 *                                                                           *
 * This file is part of HDF5.  The full HDF5 copyright notice, including     *
 * terms governing use, modification, and redistribution, is contained in    *
 * the files COPYING and Copyright.html.  COPYING can be found at the root   *
 * of the source code distribution tree; Copyright.html can be found at the  *
 * root level of an installed copy of the electronic HDF5 document set and   *
 * is linked from the top-level documents page.  It can also be found at     *
 * http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have          *
 * access to either file, you may request a copy from help@hdfgroup.org.     *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

package hdf.hdf5lib.structs;

import java.io.Serializable;

//Information struct for Attribute (For H5Ewalk)
public class H5E_error2_t implements Serializable{
    private static final long serialVersionUID = 279144359041667613L;

    public long   cls_id;     //class ID
    public long   maj_num;      //major error ID
    public long   min_num;      //minor error number
    public int    line;          //line in file where error occurs
    public String func_name;  //function in which error occurred
    public String file_name;  //file in which error occurred
    public String desc;          //optional supplied description

    H5E_error2_t(long cls_id, long maj_num, long min_num, int line, String func_name, String file_name, String desc) {
        this.cls_id = cls_id;
        this.maj_num = maj_num;
        this.min_num = min_num;
        this.line = line;
        this.func_name = func_name;
        this.file_name = file_name;
        this.desc = desc;
    }
}