Remove unnecessary exceptions from hello command class declaration

Change-Id: Idf3ee766d46ce6d51a7a436a18d40460f38554ef
diff --git a/src/main/java/com/googlesource/gerrit/plugins/cookbook/PrintHelloWorldCommand.java b/src/main/java/com/googlesource/gerrit/plugins/cookbook/PrintHelloWorldCommand.java
index 8c88eae..516ff17 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/cookbook/PrintHelloWorldCommand.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/cookbook/PrintHelloWorldCommand.java
@@ -30,7 +30,7 @@
   private boolean french = false;
 
   @Override
-  public void run() throws UnloggedFailure, Failure, Exception {
+  public void run() {
     final String greeting = (french ? "Bonjour " : "Hello ");
     // Note the use of '\n' instead of println to keep platform-agnostic line
     // terminator.