de.qfs.lib.command
Class DialogCommandException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--de.qfs.lib.command.CommandException
|
+--de.qfs.lib.command.DialogCommandException
- All Implemented Interfaces:
- java.io.Serializable
- public class DialogCommandException
- extends CommandException
When a DialogCommandException is thrown during the exection of a Command
that has been assigned through a CommandDistributor
, it will be caught and the Dialog contained in it will
be displayed.
- Version:
- $Revision: 1.5 $
- Author:
- Gregor Schmid
- See Also:
- Serialized Form
Constructor Summary |
DialogCommandException(java.lang.String message,
java.awt.Dialog dialog)
Create a new DialogCommandException. |
Method Summary |
java.awt.Dialog |
getDialog()
Get the Dialog of the DialogCommandException. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DialogCommandException
public DialogCommandException(java.lang.String message,
java.awt.Dialog dialog)
- Create a new DialogCommandException.
- Parameters:
message
- A message detailing the reason for the exception.dialog
- The dialog to display when the exception is caught.
getDialog
public final java.awt.Dialog getDialog()
- Get the Dialog of the DialogCommandException.
- Returns:
- The dialog of the DialogCommandException.