Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use NotSupportedException if available #15

Merged

Conversation

alexander-schranz
Copy link
Contributor

@alexander-schranz alexander-schranz commented Jan 7, 2020

If a adapter does not support a specific function since imagine 1.0 a NotSupportedException should be throw instead. As this does extend from the RuntimeException it will not be a bc break.

@alexander-schranz alexander-schranz force-pushed the enhancement/use-not-supported-exception branch from 48c3157 to abd8d09 Compare January 7, 2020 15:39
@ausi ausi merged commit 031e746 into contao:master Jan 7, 2020
@ausi
Copy link
Member

ausi commented Jan 7, 2020

Thank you @alexander-schranz!

@alexander-schranz alexander-schranz deleted the enhancement/use-not-supported-exception branch January 7, 2020 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants