### Question:
TransactionStatusException extends RuntimeException { public TransactionStatusError getStatusError() { return statusError; } TransactionStatusException(Throwable caller, TransactionStatusError statusError); TransactionStatusError getStatusError();  }### Answer:
@Test void getStatusError() { Address address = Address.generateRandom(NetworkType.MIJIN_TEST); TransactionStatusError transactionStatusError = new TransactionStatusError(address, "hash", "error", new Deadline(BigInteger.valueOf(1))); TransactionStatusException exception = new TransactionStatusException(new IllegalStateException("Caller"), transactionStatusError); assertEquals(transactionStatusError, exception.getStatusError()); }