com.jscape.inet.ssh
Class SshTaskFailedEvent
java.lang.Object
java.util.EventObject
com.jscape.inet.ssh.SshTaskFailedEvent
- All Implemented Interfaces:
- java.io.Serializable
public class SshTaskFailedEvent
- extends java.util.EventObject
Fired when a SshTask
has failed to complete
- See Also:
SshTask
,
Serialized Form
Constructor Summary |
SshTaskFailedEvent(java.lang.Object source,
SshTask task,
java.lang.Exception exception)
Creates a new instance of SshTaskFailedEvent. |
Method Summary |
java.lang.Exception |
getException()
Gets the exception that caused the SshTask to fail. |
SshTask |
getTask()
Gets the SshTask that has failed. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SshTaskFailedEvent
public SshTaskFailedEvent(java.lang.Object source,
SshTask task,
java.lang.Exception exception)
- Creates a new instance of SshTaskFailedEvent.
- Parameters:
source
- the source of the eventtask
- the SshTask
that has failedexception
- the source of this exception- See Also:
SshTask
getTask
public SshTask getTask()
- Gets the SshTask that has failed.
- Returns:
- a
SshTask
getException
public java.lang.Exception getException()
- Gets the exception that caused the SshTask to fail.
- Returns:
- the exception
Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved