t3hk0d3/PermissionsEx — Issue #102: Suggestion - Catch unique key violation and display useful error message
Author: Psithief
Created: 2011-10-22 08:30:39+00:00
State: open

If someone tries to add a permission that already exists in the database they violate the unique key, and PermissionsEx throws an ugly error to the console.

Perhaps you could catch the error response (I imagine it's a specific SQLException) and display what the cause was in a human-friendly manner?