mirror of https://github.com/apache/maven.git
restore Java 5 API compatibility
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1402776 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
40d10ec9e4
commit
390122c170
|
@ -45,7 +45,8 @@ public class DefaultExceptionHandlerTest
|
||||||
public void testJdk7ipv6()
|
public void testJdk7ipv6()
|
||||||
{
|
{
|
||||||
ConnectException connEx = new ConnectException( "Connection refused: connect" );
|
ConnectException connEx = new ConnectException( "Connection refused: connect" );
|
||||||
IOException ioEx = new IOException( "Unable to establish loopback connection", connEx );
|
IOException ioEx = new IOException( "Unable to establish loopback connection" );
|
||||||
|
ioEx.initCause( connEx );
|
||||||
MojoExecutionException mojoEx =
|
MojoExecutionException mojoEx =
|
||||||
new MojoExecutionException( "Error executing Jetty: Unable to establish loopback connection", ioEx );
|
new MojoExecutionException( "Error executing Jetty: Unable to establish loopback connection", ioEx );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue