getId(), $invoiceId, $ex); exit(1); } ResultPrinter::printResult("Get Invoice", "Invoice", $invoice->getId(), $invoiceId, $invoice);