Class SessionLoadCancelledEvent

  • All Implemented Interfaces:
    CyEvent<Object>

    @Deprecated
    public final class SessionLoadCancelledEvent
    extends AbstractCyEvent<Object>
    Deprecated.
    Just listen to SessionLoadedEvent instead now.
    This event used to be fired (until version 3.5.1) when a session load task was cancelled, which can also happen because of exceptions, but is no longer fired.

    Module: session-api

    To use this in your app, include the following dependency in your POM:

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>session-api</artifactId>
    </dependency>

    Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
    • Constructor Detail

      • SessionLoadCancelledEvent

        public SessionLoadCancelledEvent​(Object source)
        Deprecated.
        Parameters:
        source - The object that fired this event.
      • SessionLoadCancelledEvent

        public SessionLoadCancelledEvent​(Object source,
                                         Exception exception)
        Deprecated.
        Use this constructor if the session load was cancelled because of an exception.
        Parameters:
        source - The object that fired this event.
        exception - The Exception that interrupted the session load task.
    • Method Detail

      • getException

        public Exception getException()
        Deprecated.
        Returns:
        The exception that cancelled the session load task or null, if it was not interrupted by an exception.