1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 2 * Copyright by The HDF Group. * 3 * Copyright by the Board of Trustees of the University of Illinois. * 4 * All rights reserved. * 5 * * 6 * This file is part of HDF5. The full HDF5 copyright notice, including * 7 * terms governing use, modification, and redistribution, is contained in * 8 * the COPYING file, which can be found at the root of the source code * 9 * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. * 10 * If you do not have access to either file, you may request a copy from * 11 * help@hdfgroup.org. * 12 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 13 14 package hdf.hdf5lib.exceptions; 15 16 /** 17 * The class HDF5LibraryException returns errors raised by the HDF5 library. 18 * <p> 19 * This sub-class represents HDF-5 major error code <b>H5E_ATTR</b> 20 */ 21 public class HDF5AttributeException extends HDF5LibraryException { 22 /** 23 * Constructs an <code>HDF5AttributeException</code> with no specified 24 * detail message. 25 */ HDF5AttributeException()26 public HDF5AttributeException() { 27 super(); 28 } 29 30 /** 31 * Constructs an <code>HDF5AttributeException</code> with the specified 32 * detail message. 33 * 34 * @param s 35 * the detail message. 36 */ HDF5AttributeException(String s)37 public HDF5AttributeException(String s) { 38 super(s); 39 } 40 } 41