commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NET-391) CommandSupport listener should be invoked before throwing an Exception if the reply is not valid
Date Sat, 26 Mar 2011 16:32:05 GMT
CommandSupport listener should be invoked before throwing an Exception if the reply is not
valid
------------------------------------------------------------------------------------------------

                 Key: NET-391
                 URL: https://issues.apache.org/jira/browse/NET-391
             Project: Commons Net
          Issue Type: Bug
    Affects Versions: 2.2
            Reporter: Sebb
            Assignee: Sebb
            Priority: Minor


The __getReply() methods check for a valid reply, and throw an exception if the reply is unexpected.

However at present this is generally done before the CommandSupport listener has been informed,
which means that the listener won't see the reply that caused the problem.

The methods should be changed to report the response before validation.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message