The main entry point into this class. @param args the arguments passed on the command line @throws Exception if an error occurs
(final String[] args)
| 37 | * @throws Exception if an error occurs |
| 38 | */ |
| 39 | public static void main(final String[] args) throws Exception { |
| 40 | if (args.length == 1 && "-SanityCheck".equals(args[0])) { |
| 41 | runSanityCheck(); |
| 42 | return; |
| 43 | } |
| 44 | System.out.println(getProductName()); |
| 45 | System.out.println(getCopyright()); |
| 46 | System.out.println("Version: " + getProductVersion()); |
| 47 | } |
| 48 | |
| 49 | /** |
| 50 | * Runs the sanity check. |