com.pastdev.jsch.MultiCloseException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsch-extension Show documentation
Show all versions of jsch-extension Show documentation
A set of extensions on top of JSch providing a full SCP protocol implementation, tunneling including multi-hop, a Java 7 FileSystem like implementation for Java 6 and remote command execution
package com.pastdev.jsch;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
public class MultiCloseException extends IOException {
private static final long serialVersionUID = -8654074724588491465L;
private List causes;
public void add( Exception e ) {
if ( causes == null ) {
causes = new ArrayList();
}
causes.add( e );
}
public List getCauses() {
return causes;
}
}