Changeset 11 for profileconnection
- Timestamp:
- 01/30/20 16:52:38 (5 years ago)
- Location:
- profileconnection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
profileconnection/pom.xml
r9 r11 6 6 <groupId>geniusweb</groupId> 7 7 <artifactId>profileconnection</artifactId> 8 <version>1. 1.0</version>8 <version>1.2.0</version> 9 9 <packaging>jar</packaging> 10 10 … … 31 31 <groupId>geniusweb</groupId> 32 32 <artifactId>profile</artifactId> 33 <version>1. 1.0</version>33 <version>1.2.0</version> 34 34 </dependency> 35 35 -
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.