/** * Creates a new exception with the specified result. * * @param result The collection result at the point the exception occurred, may be {@code null}. */ public DependencyCollectionException( CollectResult result ) { super( "Failed to collect dependencies for " + getSource( result ), getCause( result ) ); this.result = result; }
/** * Creates a new exception with the specified result. * * @param result The collection result at the point the exception occurred, may be {@code null}. */ public DependencyCollectionException( CollectResult result ) { super( "Failed to collect dependencies for " + getSource( result ), getCause( result ) ); this.result = result; }