public static ServerException embedFTPReplyParseException ( FTPReplyParseException rpe , String message ) { ServerException se = new ServerException ( WRONG_PROTOCOL , message ) ; se . setRootCause ( rpe ) ; return se ; }
Constructs server exception with FTPReplyParseException nested in it .