diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/java/org/uic/barcode/ticket/api/test/CarCarriageTestV3.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/java/org/uic/barcode/ticket/api/test/CarCarriageTestV3.java b/src/test/java/org/uic/barcode/ticket/api/test/CarCarriageTestV3.java index b711c84..ac7aed6 100644 --- a/src/test/java/org/uic/barcode/ticket/api/test/CarCarriageTestV3.java +++ b/src/test/java/org/uic/barcode/ticket/api/test/CarCarriageTestV3.java @@ -1,6 +1,5 @@ package org.uic.barcode.ticket.api.test;
-import java.io.IOException;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
@@ -90,7 +89,7 @@ public class CarCarriageTestV3 { IUicRailTicket ticketDecoded = null;
try {
ticketDecoded = decoder.decodeFromAsn(CarCarriageReservationTestTicketV3.getEncodingBytes());
- } catch (IOException e) {
+ } catch (Exception e) {
assert(false);
}
@@ -147,7 +146,7 @@ public class CarCarriageTestV3 { IUicRailTicket ticketDecoded2 = null;
try {
ticketDecoded2 = decoder.decodeFromAsn(encoded);
- } catch (IOException e) {
+ } catch (Exception e) {
assert(false);
}
|