jTracer  1.03
Stack trace visualization tool
static void org.libcsdbg.jtracer.Alert.error ( JFrame  owner,
String  msg,
boolean  fatal 
)
static

Show an error alert and exit if the error is marked as fatal.

Parameters
[in]ownerthe parent frame
[in]msgthe error message (it can be multiline)
[in]fataltrue if the process must abort

Definition at line 165 of file Alert.java.

References org.libcsdbg.jtracer.Alert.ERROR_MSG.

Referenced by org.libcsdbg.jtracer.MainFrame.actionPerformed(), and org.libcsdbg.jtracer.Session.actionPerformed().

166  {
167  new Alert(owner, msg, ERROR_MSG);
168  if (fatal)
169  System.exit(1);
170  }
static final short ERROR_MSG
Alert type for error messages.
Definition: Alert.java:38

+ Here is the caller graph for this function: