Exemplo n.º 1
0
 static void throwDeprecatedMethodException(Locale locale, String s) throws SQLException {
   Object[] messageArguments = new Object[1];
   messageArguments[0] = s;
   throw SQLMXMessages.createSQLException(locale, "deprecated_method", messageArguments);
 }
Exemplo n.º 2
0
 static void throwUnsupportedFeatureException(Locale locale, String s) throws SQLException {
   Object[] messageArguments = new Object[1];
   messageArguments[0] = s;
   throw SQLMXMessages.createSQLException(locale, "unsupported_feature", messageArguments);
 }