aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/jcraft/jsch/ChannelSftp.java
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2024-11-22 13:23:03 +0100
committerPierre Ossman <ossman@cendio.se>2024-11-22 13:23:03 +0100
commit9366d8e54c5ee1c2cfcf333a17b7fd4bdbd13993 (patch)
tree3fd8306bb874e1198a49f9a9ee9a7f417d10da92 /java/com/jcraft/jsch/ChannelSftp.java
parentcd52658ff6e73aa1c36f01a8486ba346a869c848 (diff)
parent0af41e7fed978f934f3dc6ca8c99599a212467c5 (diff)
downloadtigervnc-9366d8e54c5ee1c2cfcf333a17b7fd4bdbd13993.tar.gz
tigervnc-9366d8e54c5ee1c2cfcf333a17b7fd4bdbd13993.zip
Merge branch 'master' of https://github.com/madnicendio/tigervnc
Diffstat (limited to 'java/com/jcraft/jsch/ChannelSftp.java')
-rw-r--r--java/com/jcraft/jsch/ChannelSftp.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/java/com/jcraft/jsch/ChannelSftp.java b/java/com/jcraft/jsch/ChannelSftp.java
index d2c0913d..58317170 100644
--- a/java/com/jcraft/jsch/ChannelSftp.java
+++ b/java/com/jcraft/jsch/ChannelSftp.java
@@ -1382,7 +1382,7 @@ public class ChannelSftp extends ChannelSession{
try{
sendREAD(handle, request_offset, request_len, rq);
}
- catch(Exception e){ throw new IOException("error"); }
+ catch(Exception e){ throw new IOException("Error"); }
request_offset += request_len;
}
}
@@ -1403,11 +1403,11 @@ public class ChannelSftp extends ChannelSession{
return 0;
}
catch(SftpException e){
- throw new IOException("error: "+e.toString());
+ throw new IOException("Error: "+e.toString());
}
if(type!=SSH_FXP_STATUS && type!=SSH_FXP_DATA){
- throw new IOException("error");
+ throw new IOException("Error");
}
if(type==SSH_FXP_STATUS){
fill(buf, rest_length);
@@ -1418,7 +1418,7 @@ public class ChannelSftp extends ChannelSession{
return -1;
}
//throwStatusError(buf, i);
- throw new IOException("error");
+ throw new IOException("Error");
}
buf.rewind();
@@ -1477,7 +1477,7 @@ public class ChannelSftp extends ChannelSession{
rr.offset+length_of_data,
(int)(rr.length-length_of_data), rq);
}
- catch(Exception e){ throw new IOException("error"); }
+ catch(Exception e){ throw new IOException("Error"); }
request_offset=rr.offset+rr.length;
}
@@ -1502,7 +1502,7 @@ public class ChannelSftp extends ChannelSession{
if(monitor!=null)monitor.end();
rq.cancel(header, buf);
try{_sendCLOSE(handle, header);}
- catch(Exception e){throw new IOException("error");}
+ catch(Exception e){throw new IOException("Error");}
}
};
return in;