Java 955 - Throw exception when DB name contains spaces