protected Throwable relaunch ( ClassLoader classLoader ) throws Exception { RestartLauncher launcher = new RestartLauncher ( classLoader , this . mainClassName , this . args , this . exceptionHandler ) ; launcher . start ( ) ; launcher . join ( ) ; return launcher . getError ( ) ; }
Relaunch the application using the specified classloader .