All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hidetake.groovy.ssh.interaction.InteractionException.groovy Maven / Gradle / Ivy

There is a newer version: 2.11.2
Show newest version
package org.hidetake.groovy.ssh.interaction

/**
 * An exception thrown if one or more exceptions occurred while stream interaction.
 *
 * @author Hidetake Iwata
 */
class InteractionException extends IOException {
    final List exceptions

    def InteractionException(Throwable exception) {
        super("Error while stream interaction: $exception", exception)
        this.exceptions = [exception]
    }

    def InteractionException(Throwable... exceptions) {
        super("Error while stream interaction: $exceptions")
        this.exceptions = exceptions
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy