If a capability is created and then encounters a configuration error, the description will contain the word FAILED: followed by the class name of the exception.( see NXCM-3681 )
When trying to delete the capability you will be asked for confirmation with a message such as
"Delete the "FAILED: java.lang.IllegalStateException" capability?"
It would be more logical to use the capability type instead of description here, or neither of these.
See attached screenshot for an example of how this looks.