getParticipantInfo(participant));
}
if (participant == null) {
throw new NullPointerException("Participant must not be null");
} else if (state == State.ABORTED) {
throw new TransactionNotActiveException(
"Transaction is not active", abortCause);
} else if (state != State.ACTIVE) {
throw new IllegalStateException(
"Transaction is not active: " + state);
}