Throw consistent exceptions for unsupported collations

Changed behavior in the cases when an unsupported name is used for character set, and unsupported collation. The standard type of exception is thrown (with a official error code), instead of a runtime exception.

Exception messages are changed to have uniform appearance when the exception is thrown.