You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/Driver.java
+31-10Lines changed: 31 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@
23
23
24
24
importwa.audio.LocalAudio;
25
25
importwa.client.Client;
26
+
importwa.exceptions.AuthenticationError;
26
27
27
28
28
29
/**
@@ -34,8 +35,9 @@
34
35
* This does not exit unless:
35
36
* <bl>
36
37
* <li> It cannot open/read the configure.properties file (Exit=1)
37
-
* <li> It cannot create and initialize the Client (Exit=1)
38
-
* <li> There is a 'catastrophic' error from the client (Exit=3)
38
+
* <li> It cannot create and initialize the Client (Exit=2)
39
+
* <li> The client could not authenticate with the server (Exit=3)
40
+
* <li> There is a 'catastrophic' error from the client (Exit=4)
39
41
* <li> The process is externally terminated
40
42
* </bl>
41
43
*
@@ -60,14 +62,7 @@ public static void main(String args[]) {
60
62
Propertiesproperties = readProps();
61
63
if (null == properties) {
62
64
LOG.error("The configure.properties was not found, could not be read, or is not in valid properties file format. The configure.properties file should be in the 'config' folder.");
0 commit comments