org.openbp.jaspira.plugins.errordialog
Class ErrorEvent
java.lang.Object
java.util.EventObject
org.openbp.jaspira.event.JaspiraEvent
org.openbp.jaspira.plugins.errordialog.ErrorEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ErrorEvent
- extends JaspiraEvent
This event can be used to open the error dialog.
- Author:
- Andreas Putz
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
ErrorEvent(Plugin source,
java.lang.String message,
java.lang.String exceptionString)
Constructor. |
ErrorEvent(Plugin source,
java.lang.String message,
java.lang.Throwable t)
Constructor. |
|
Method Summary |
java.lang.String |
getExceptionString()
Gets the exception as string. |
java.lang.String |
getMessage()
Gets the message which will displayed in a dialog. |
java.lang.Throwable |
getThrowable()
Gets the throwable which was thrown. |
| Methods inherited from class org.openbp.jaspira.event.JaspiraEvent |
brand, getBrand, getEventGroup, getEventName, getFlags, getLevel, getObject, getOriginalEvent, getSourcePlugin, getTargetClassName, getTargetPluginId, getType, isConsumed, isStackable, isUnconsumable, setObject, setTargetClassName, setTargetPluginId, toString, updateFlags, updateFlags |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ErrorEvent
public ErrorEvent(Plugin source,
java.lang.String message,
java.lang.Throwable t)
- Constructor.
- Parameters:
source - The plugin where the throwable was thrownmessage - This message will be displayed in a dialogt - Throwable object
ErrorEvent
public ErrorEvent(Plugin source,
java.lang.String message,
java.lang.String exceptionString)
- Constructor.
- Parameters:
source - The plugin where the throwable was thrownmessage - This message will be displayed in a dialogexceptionString - The exception as string
getMessage
public java.lang.String getMessage()
- Gets the message which will displayed in a dialog.
getThrowable
public java.lang.Throwable getThrowable()
- Gets the throwable which was thrown.
getExceptionString
public java.lang.String getExceptionString()
- Gets the exception as string.
Copyright © 2011. All Rights Reserved.