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:
dsandersoremutah
2006-09-08 15:35:07 +00:00
parent 50c5dc9204
commit a209ed6c69
5 changed files with 23 additions and 11 deletions

View File

@@ -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);
}
}
}