AbstractTF_Status

public abstract class AbstractTF_Status
Known Direct Subclasses

Public Constructors

AbstractTF_Status(Pointer p)

Public Methods

void
delete()
Calls the deallocator, if registered, otherwise has no effect.
static TF_Status
newStatus()
Calls TF_NewStatus(), and registers a deallocator.
void
throwExceptionIfNotOK()
Map TF_Code to unchecked exception, and throw if not TF_OK.

Inherited Methods

Public Constructors

public AbstractTF_Status (Pointer p)

Public Methods

public void delete ()

Calls the deallocator, if registered, otherwise has no effect.

public static TF_Status newStatus ()

Calls TF_NewStatus(), and registers a deallocator.

Returns
  • TF_Status created. Do not call TF_DeleteStatus() on it.

public void throwExceptionIfNotOK ()

Map TF_Code to unchecked exception, and throw if not TF_OK.