Skip to content
This repository was archived by the owner on Jan 13, 2018. It is now read-only.
This repository was archived by the owner on Jan 13, 2018. It is now read-only.

Throw better exceptions when adding null LegacyBarActions #49

Description

@Cheesebaron

Spent some time finding out why I got a null pointer exception in LegacyBar, and found out it was because of I was trying to add an Action to the LegacyBar which was null. Had we had a better exception in hand here, it would have been a bit easier to understand why the exception was thrown.

Maybe add an ArgumentException in the methods for adding Actions to the Bar.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions