@@ -25,7 +25,7 @@ public class SplitFactoryBuilder {
2525 * @throws IOException if the SDK was being started in 'localhost' mode, but
2626 * there were problems reading the override file from disk.
2727 */
28- public static SplitFactory build (String apiToken ) throws Exception {
28+ public static SplitFactory build (String apiToken ) throws IOException , URISyntaxException {
2929 return build (apiToken , SplitClientConfig .builder ().build ());
3030 }
3131
@@ -36,7 +36,7 @@ public static SplitFactory build(String apiToken) throws Exception {
3636 * @throws java.io.IOException if the SDK was being started in 'localhost' mode, but
3737 * there were problems reading the override file from disk.
3838 */
39- public static synchronized SplitFactory build (String apiToken , SplitClientConfig config ) throws Exception {
39+ public static synchronized SplitFactory build (String apiToken , SplitClientConfig config ) throws IOException , URISyntaxException {
4040 ApiKeyValidator .validate (apiToken );
4141
4242 if (LocalhostSplitFactory .LOCALHOST .equals (apiToken )) {
@@ -66,7 +66,7 @@ public static SplitFactory local(SplitClientConfig config) throws IOException, U
6666 return LocalhostSplitFactory .createLocalhostSplitFactory (config );
6767 }
6868
69- public static void main (String ... args ) throws Exception {
69+ public static void main (String ... args ) throws IOException , URISyntaxException {
7070 if (args .length != 1 ) {
7171 System .out .println ("Usage: <api_token>" );
7272 System .exit (1 );
0 commit comments