[jira] Created: (PLXUTILS-67) CommandLineUtils.executeCommandLine() to throw TimeoutException on timeout

View: New views
1 Messages — Rating Filter:   Alert me  

[jira] Created: (PLXUTILS-67) CommandLineUtils.executeCommandLine() to throw TimeoutException on timeout

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

CommandLineUtils.executeCommandLine() to throw TimeoutException on timeout
--------------------------------------------------------------------------

                 Key: PLXUTILS-67
                 URL: http://jira.codehaus.org/browse/PLXUTILS-67
             Project: Plexus Utils
          Issue Type: Improvement
    Affects Versions: 1.5.1
            Reporter: A


http://fisheye.codehaus.org/viewrep/plexus/plexus-utils/trunk/src/main/java/org/codehaus/plexus/util/cli/CommandLineUtils.java

Currently CommandLineUtils.executeCommandLine() throws an InterruptedException no matter if timeout occurred or some other issue.

It would be useful for one to know when the reason was simply the command timing out and throwing TimeoutException  will make that possible.

I know the exception error message makes that clear but that makes things complicated for tools like the maven surefire test runner which will need to parse exception descriptions to know it was timeout and not something else.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email