|
Homepage | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetx.jnlp.DefaultLaunchHandler
public class DefaultLaunchHandler
This default implementation shows prints the exception to stdout and if not in headless mode displays the exception in a dialog.
Constructor Summary | |
---|---|
DefaultLaunchHandler()
|
Method Summary | |
---|---|
void |
launchCompleted(ApplicationInstance application)
Called when an application, applet, or installer has been launched successfully (the main method or applet start method returned normally). |
void |
launchError(LaunchException exception)
Called when the application could not be launched due to a fatal error, such as the inability to find the main class or non-parseable XML. |
boolean |
launchWarning(LaunchException warning)
Called when launching the application can not be launched due to an error that is not fatal. |
protected void |
printMessage(LaunchException ex)
Print a message to stdout. |
boolean |
validationError(LaunchException security)
Called when a security validation error occurs while launching the application. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultLaunchHandler()
Method Detail |
---|
public void launchError(LaunchException exception)
launchError
in interface LaunchHandler
public boolean launchWarning(LaunchException warning)
launchWarning
in interface LaunchHandler
public boolean validationError(LaunchException security)
validationError
in interface LaunchHandler
public void launchCompleted(ApplicationInstance application)
launchCompleted
in interface LaunchHandler
application
- the launched application instanceprotected void printMessage(LaunchException ex)
|
Homepage | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |