Examples of canDiagnose()


Examples of org.apache.maven.usability.diagnostics.ErrorDiagnoser.canDiagnose()

        ErrorDiagnoser diagnoser =
            (ArtifactResolverDiagnoser) lookup( ErrorDiagnoser.ROLE, "ArtifactResolverDiagnoser" );

        Throwable error = new ArtifactResolutionException( null, null, null, null, null, null, new IOException() );

        assertTrue( diagnoser.canDiagnose( error ) );
        diagnoser.diagnose( error );
    }

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.