checkStatus method

void checkStatus()

Called automatically in all API methods. Throws an exception (wrapped around the status) if the status contains errors.

Implementation

void checkStatus() {
  if (isError) {
    throw FbStatusException(this);
  }
}