127128129130131132133134135136
throw new FileError(code); } } } catch (Exception e) { e.printStackTrace(); ProtocolStatus ps = ProtocolStatusUtils.makeStatus( ProtocolStatusCodes.EXCEPTION, e.toString()); return new ProtocolOutput(null, ps); } }
148149150151152153154155156157
} else { // convert to exception throw new FtpError(code); } } } catch (Exception e) { ProtocolStatus ps = ProtocolStatusUtils.makeStatus( ProtocolStatusCodes.EXCEPTION, e.toString()); return new ProtocolOutput(null, ps); } }