|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
de.qfs.lib.command.CommandException
de.qfs.lib.command.MessageCommandException
When a MessageCommandException is thrown during the exection of a Command
that has been assigned through a CommandDistributor
, it will be caught and a Dialog for the contained
message will be displayed through Message.showMessage
.
Constructor Summary | |
MessageCommandException(java.lang.String message,
java.awt.Component parent,
java.lang.String messageResource)
Create a new MessageCommandException. |
|
MessageCommandException(java.lang.String message,
java.awt.Component parent,
java.lang.String messageResource,
java.lang.Object[] parameters)
Create a new MessageCommandException. |
Method Summary | |
java.lang.Object[] |
getMessageParameters()
Get the messageParameters of the MessageCommandException. |
java.lang.String |
getMessageResource()
Get the messageResource of the MessageCommandException. |
java.awt.Component |
getParent()
Get the parent of the MessageCommandException. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MessageCommandException(java.lang.String message, java.awt.Component parent, java.lang.String messageResource)
message
- A message detailing the reason for the exception.parent
- The parent Component for the dialog to display.messageResource
- The resource basename for the message dialog.Message.showMessage(Component,String,Object[])
public MessageCommandException(java.lang.String message, java.awt.Component parent, java.lang.String messageResource, java.lang.Object[] parameters)
message
- A message detailing the reason for the exception.parent
- The parent Component for the dialog to display.messageResource
- The resource basename for the message dialog.parameters
- The parameters for the message.Message.showMessage(Component,String,Object[])
Method Detail |
public final java.awt.Component getParent()
public final java.lang.String getMessageResource()
public final java.lang.Object[] getMessageParameters()
|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |