diff options
Diffstat (limited to 'src/test/java/org/uic/barcode/ticket/api/test/AllElementsTestV3.java')
-rw-r--r-- | src/test/java/org/uic/barcode/ticket/api/test/AllElementsTestV3.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/java/org/uic/barcode/ticket/api/test/AllElementsTestV3.java b/src/test/java/org/uic/barcode/ticket/api/test/AllElementsTestV3.java index 0b426f2..5719f48 100644 --- a/src/test/java/org/uic/barcode/ticket/api/test/AllElementsTestV3.java +++ b/src/test/java/org/uic/barcode/ticket/api/test/AllElementsTestV3.java @@ -1,6 +1,5 @@ package org.uic.barcode.ticket.api.test;
-import java.io.IOException;
import java.text.ParseException;
import java.util.Date;
import java.util.Iterator;
@@ -127,7 +126,7 @@ public class AllElementsTestV3 { String hex = AllElementsTestTicketV3.getEncodingHex();
byte[] content = UperEncoder.bytesFromHexString(hex);
ticketDecoded = decoder.decodeFromAsn(content);
- } catch (IOException e) {
+ } catch (Exception e) {
assert(false);
}
@@ -145,7 +144,7 @@ public class AllElementsTestV3 { IUicRailTicket ticketDecoded2 = null;
try {
ticketDecoded2 = decoder.decodeFromAsn(encoded);
- } catch (IOException e) {
+ } catch (Exception e) {
assert(false);
}
|