public static String buildFailureOutput(Throwable cause){
  String message=getMessageFromCause(cause);
  return "Verification failed: " + message;
}

public static String buildFailureOutput ( Throwable cause ) { String message = getMessageFromCause ( cause ) ; return "Verification failed: " + message ; }
generates the output in case of failed verification .
