Changeset 11 for profileconnection/src/main
- Timestamp:
- 01/30/20 16:52:38 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
profileconnection/src/main/java/geniusweb/profileconnection/WebsocketProfileConnector.java
r10 r11 27 27 private static final int TIMEOUT_MS = 2000; 28 28 private final Reporter logger; 29 private final URI uri; // to log possible errors 29 30 private Profile profile = null; 30 31 … … 46 47 "uri, reporter and wsconnector must be not null"); 47 48 } 49 this.uri = uri; 48 50 this.logger = reporter; 49 51 wscontainer.connectToServer(this, uri); … … 81 83 } 82 84 if (profile == null) { 83 throw new IOException("Failed to fetch profile ");85 throw new IOException("Failed to fetch profile from " + uri); 84 86 } 85 87 return profile;
Note:
See TracChangeset
for help on using the changeset viewer.