Changes to Java interface.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@827 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -1400,7 +1400,18 @@ public class XEdit extends JFrame implements Runnable, ActionListener, MouseList
|
||||
if (sDatabaseName != null)
|
||||
{
|
||||
// If this fails, we will throw an exception.
|
||||
m_dbSystem.dbRemove( sDatabaseName, "", "", true);
|
||||
try
|
||||
{
|
||||
m_dbSystem.dbRemove( sDatabaseName, "", "", true);
|
||||
}
|
||||
catch (XFlaimException e)
|
||||
{
|
||||
JOptionPane.showConfirmDialog(
|
||||
this,
|
||||
"Database Exception occurred: " + e.getMessage(),
|
||||
"Database Exception",
|
||||
JOptionPane.ERROR_MESSAGE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user