Skip to content

Commit

Permalink
Remove out printing trace stack if failed trying to load GpSimulatorR…
Browse files Browse the repository at this point in the history
…untime and CardManagerRuntime for preventing confusion
  • Loading branch information
pongpet-licel committed Jul 18, 2022
1 parent ea8fa2a commit 3c913e4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/main/java/com/licel/jcardsim/base/CardManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public class CardManager implements CardManagerInterface {
impl = (CardManagerInterface)Class.forName("com.licel.globalplatform.CardManager").newInstance();
System.out.println("Succesfully loaded the instance!");
} catch (Throwable ex) {
ex.printStackTrace(System.err);
System.out.println("Failed to load the instance! Will use the default CardManager");
impl = new CardManager();
}
Expand Down
1 change: 0 additions & 1 deletion src/main/java/com/licel/jcardsim/base/SimulatorSystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public class SimulatorSystem {
sim = setCurrentInstance((SimulatorRuntime)Class.forName("com.licel.globalplatform.GpSimulatorRuntime").newInstance());
System.out.println("Succesfully loaded the instance!");
} catch (Throwable ex) {
ex.printStackTrace(System.err);
System.out.println("Failed to load the instance! Will use the default SimulatorRuntime");
sim = setCurrentInstance(new SimulatorRuntime());
}
Expand Down

0 comments on commit 3c913e4

Please sign in to comment.