コード例 #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);
 }
コード例 #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);
 }