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

org.hidetake.groovy.ssh.session.BadExitStatusException.groovy Maven / Gradle / Ivy

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

import groovy.transform.CompileStatic

/**
 * An exception class thrown if the remote command returns bad exit status.
 *
 * @author Hidetake Iwata
 */
@CompileStatic
class BadExitStatusException extends RuntimeException {
    final int exitStatus

    def BadExitStatusException(String message, int exitStatus) {
        super(message)
        this.exitStatus = exitStatus
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy