ucsb-cs56-projects / cs56-utilities-cryptography

cs56-utilities-cryptography
0 stars 10 forks source link

Confusing Stack Trace Error #74

Open kmahorker opened 6 years ago

kmahorker commented 6 years ago

Stack trace is printed for a case where an error dialog box is shown. This is confusing for the developers who expect a stack trace when a run-time error occurs, rather than when a dialog box prevents the user from taking this "dangerous" action. Reproduce error by switching to decrypt mode and attempting to keyGen.

Trace: java.lang.Exception [java] at edu.ucsb.cs56.projects.utilities.cryptography.GUIActionMethod.checkMode(GUIActionMethod.java:49) [java] at edu.ucsb.cs56.projects.utilities.cryptography.GUIActionMethod.BifidGenKey(GUIActionMethod.java:487) [java] at edu.ucsb.cs56.projects.utilities.cryptography.CryptographyGUI.lambda$go$5(CryptographyGUI.java:292)

aryamandas commented 6 years ago

F17 OK (50 points)