| | |
| | | import java.util.logging.Level; |
| | | import java.util.logging.Logger; |
| | | |
| | | import org.opends.guitools.statuspanel.StatusCli.ErrorReturnCode; |
| | | import org.opends.quicksetup.util.Utils; |
| | | import org.opends.quicksetup.Installation; |
| | | import org.opends.server.core.DirectoryServer; |
| | |
| | | { |
| | | // TODO Auto-generated catch block |
| | | } |
| | | System.exit(1); |
| | | System.exit(ErrorReturnCode.SUCCESSFUL_NOP.getReturnCode()); |
| | | } |
| | | else |
| | | if (printUsage) |
| | | { |
| | | printUsage(System.out); |
| | | System.exit(1); |
| | | System.exit(ErrorReturnCode.SUCCESSFUL_NOP.getReturnCode()); |
| | | |
| | | } else |
| | | { |
| | |
| | | } |
| | | catch (Throwable t) |
| | | { |
| | | System.out.println("ERROR: "+t); |
| | | System.err.println("ERROR: "+t); |
| | | t.printStackTrace(); |
| | | } |
| | | } |