@@ -79,7 +79,7 @@ static void run(String device) {
7979 }
8080 }
8181
82- private static void run (String device , String version ) {
82+ private static void run (String device , String version ) throws TSSCheckerException {
8383 if ("" .equals (device )) {
8484 return ;
8585 }
@@ -149,7 +149,7 @@ private static void run(String device, String version) {
149149 newReportableError ("There was an error starting tsschecker." , e .toString ());
150150 e .printStackTrace ();
151151 deleteTempFiles (buildManifestPlist );
152- return ;
152+ throw new TSSCheckerException ( e ) ;
153153 }
154154
155155 if (containsIgnoreCase (tsscheckerLog , "Saved signing tickets" )) {
@@ -236,7 +236,7 @@ private static void deleteTempFiles(File buildManifestPlist) {
236236 * RuntimeException for all tsschecker related errors.
237237 */
238238 @ SuppressWarnings ({"unused" , "WeakerAccess" })
239- static class TSSCheckerException extends RuntimeException {
239+ static class TSSCheckerException extends Exception {
240240
241241 /**
242242 * Constructs a new tsschecker exception with {@code null} as its
@@ -293,7 +293,7 @@ public TSSCheckerException(Throwable cause) {
293293 }
294294
295295 /**
296- * Constructs a new tsschechker exception with the specified detail
296+ * Constructs a new tsschecker exception with the specified detail
297297 * message, cause, suppression enabled or disabled, and writable
298298 * stack trace enabled or disabled.
299299 *
0 commit comments