Skip to content

Commit

Permalink
Expose the ConsistencyCheckTool.ToolFailureException, so the signatur…
Browse files Browse the repository at this point in the history
…e of runConsistencyCheckTool makes more sense.
  • Loading branch information
chrisvest committed Jun 1, 2016
1 parent 8bc93d8 commit 5a6688e
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -174,7 +174,7 @@ private String usage()
);
}

static class ToolFailureException extends Exception
public static class ToolFailureException extends Exception
{
ToolFailureException( String message )
{
Expand All @@ -186,13 +186,13 @@ static class ToolFailureException extends Exception
super( message, cause );
}

void exitTool()
public void exitTool()
{
printMessage();
printErrorMessage();
exit();
}

void printMessage()
public void printErrorMessage()
{
System.err.println( getMessage() );
if ( getCause() != null )
Expand Down

0 comments on commit 5a6688e

Please sign in to comment.