Package org.bytedeco.hdf5
Class Exception
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.hdf5.Exception
-
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
AttributeIException
,DataSetIException
,DataSpaceIException
,DataTypeIException
,FileIException
,GroupIException
,IdComponentException
,LibraryIException
,LocationException
,ObjHeaderIException
,PropListIException
,ReferenceException
@Namespace("H5") @NoOffset @Properties(inherit=hdf5.class) public class Exception extends Pointer
\class Exception \brief Exception provides wrappers of HDF5 error handling functions.Many classes are derived from Exception for specific HDF5 C interfaces.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Constructor Summary
Constructors Constructor Description Exception()
Exception(long size)
Native array allocator.Exception(String func_name)
Exception(String func_name, String message)
Exception(Exception orig)
Exception(BytePointer func_name)
Exception(BytePointer func_name, BytePointer message)
Exception(Pointer p)
Pointer cast constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
clearErrorStack()
static void
dontPrint()
static void
getAutoPrint(H5E_auto2_t func, Pointer client_data)
static void
getAutoPrint(H5E_auto2_t func, PointerPointer client_data)
BytePointer
getCDetailMsg()
BytePointer
getCFuncName()
BytePointer
getDetailMsg()
BytePointer
getFuncName()
BytePointer
getMajorString(long err_major_id)
BytePointer
getMinorString(long err_minor_id)
Exception
getPointer(long i)
Exception
position(long position)
static void
printErrorStack()
static void
printErrorStack(Pointer stream, long err_stack)
static void
setAutoPrint(H5E_auto2_t func, Pointer client_data)
static void
walkErrorStack(int direction, H5E_walk2_t func, Pointer client_data)
-
Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
-
-
-
Constructor Detail
-
Exception
public Exception(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer)
.
-
Exception
public Exception(long size)
Native array allocator. Access withPointer.position(long)
.
-
Exception
public Exception(@StdString BytePointer func_name, @StdString BytePointer message)
-
Exception
public Exception(@StdString BytePointer func_name)
-
Exception
public Exception(@StdString String func_name, @StdString String message)
-
Exception
public Exception(@StdString String func_name)
-
Exception
public Exception()
-
-
Method Detail
-
getPointer
public Exception getPointer(long i)
- Overrides:
getPointer
in classPointer
-
getMajorString
@StdString public BytePointer getMajorString(@Cast("hid_t") long err_major_id)
-
getMinorString
@StdString public BytePointer getMinorString(@Cast("hid_t") long err_minor_id)
-
getDetailMsg
@StdString public BytePointer getDetailMsg()
-
getCDetailMsg
@Cast("const char*") public BytePointer getCDetailMsg()
-
getFuncName
@StdString public BytePointer getFuncName()
-
getCFuncName
@Cast("const char*") public BytePointer getCFuncName()
-
setAutoPrint
public static void setAutoPrint(@ByPtrRef H5E_auto2_t func, Pointer client_data)
-
dontPrint
public static void dontPrint()
-
getAutoPrint
public static void getAutoPrint(@ByPtrRef H5E_auto2_t func, @Cast("void**") PointerPointer client_data)
-
getAutoPrint
public static void getAutoPrint(@ByPtrRef H5E_auto2_t func, @Cast("void**") @ByPtrPtr Pointer client_data)
-
clearErrorStack
public static void clearErrorStack()
-
walkErrorStack
public static void walkErrorStack(@Cast("H5E_direction_t") int direction, H5E_walk2_t func, Pointer client_data)
-
printErrorStack
public static void printErrorStack(@Cast("FILE*") Pointer stream, @Cast("hid_t") long err_stack)
-
printErrorStack
public static void printErrorStack()
-
-