GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — (doc) Throw more descriptive NPEx by pzygielo · Pull Request #95 · apache/maven-shared-utils

Conversation

@pzygielo

@pzygielo pzygielo commented Mar 4, 2022

Copy link
Copy Markdown
Contributor

As suggested in MJAR-286:

If this is a misconfigured pom, it should at least give a proper error message.

Thus replacing JVM-thrown NPEx with the one with message.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

xicesky reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@pzygielo
pzygielo marked this pull request as ready for review March 4, 2022 11:35
@pzygielo

This comment was marked as outdated.

Sign in to view
slawekjaranowski
slawekjaranowski reviewed Mar 11, 2022
View reviewed changes

@slawekjaranowski slawekjaranowski left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simple unit test will be appreciated 😉
it is public method

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
pzygielo added 3 commits March 11, 2022 13:16
@pzygielo
(doc) UTs for in/ex-cludes with null element
cbaadf5
This verifies/locks current behavior of throwing NPEx
on null being dereferenced in DirectoryScanner.setIncludes/Excludes.
@pzygielo
(doc) Throw more descriptive NPEx
3f56442
@pzygielo
(doc) Update UT to verify customised message
83b9e91
@pzygielo
pzygielo force-pushed the MJAR-286 branch from 1b06901 to 83b9e91 Compare March 11, 2022 12:23
@pzygielo
pzygielo marked this pull request as draft March 11, 2022 12:24
@pzygielo
pzygielo marked this pull request as ready for review March 11, 2022 12:42
@pzygielo
pzygielo requested a review from slawekjaranowski March 11, 2022 12:43
slawekjaranowski
slawekjaranowski approved these changes Mar 11, 2022
View reviewed changes
@slawekjaranowski
slawekjaranowski merged commit 412b279 into apache:master Mar 11, 2022
@pzygielo
pzygielo deleted the MJAR-286 branch March 11, 2022 14:29
@slawekjaranowski slawekjaranowski added the maintenance label Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@slawekjaranowski slawekjaranowski slawekjaranowski approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

maintenance

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@pzygielo @slawekjaranowski
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.