Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SQLRuntimeException (0.21 sec)

  1. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

     *
     * @author higa
     * @author manhole
     */
    public class SQLRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 2533513110369526191L;
    
        /**
         * {@link SQLRuntimeException}を作成します。
         *
         * @param cause
         *            原因となった例外
         */
        public SQLRuntimeException(final SQLException cause) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

         * @throws SQLRuntimeException
         *             {@link SQLException}が発生した場合
         */
        public static int executeUpdate(final PreparedStatement ps) throws SQLRuntimeException {
            assertArgumentNotNull("ps", ps);
    
            try {
                return ps.executeUpdate();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * 実行します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * カーソルを指定した位置まで進めます。
         *
         * @param resultSet
         *            結果セット。{@literal null}であってはいけません
         * @param index
         *            位置
         * @return 指定した位置まで進めたかどうか
         * @throws SQLRuntimeException
         *             SQL例外が起こった場合。
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

            sqlException.setNextException(sqlException2);
            sqlException2.setNextException(sqlException3);
    
            final SQLRuntimeException sqlRuntimeException = new SQLRuntimeException(sqlException);
    
            // ## Act ##
            final String message = sqlRuntimeException.getMessage();
    
            // ## Assert ##
            System.out.println(message);
            assertContains(message, "ErrorCode=7650");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/sql/StatementUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    
    import org.codelibs.core.exception.SQLRuntimeException;
    import org.codelibs.core.log.Logger;
    
    /**
     * {@link Statement}用のユーティリティクラスです。
     *
     * @author higa
     */
    public abstract class StatementUtil {
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.util.Enumeration;
    
    import org.codelibs.core.exception.SQLRuntimeException;
    import org.codelibs.core.lang.ClassUtil;
    
    /**
     * {@link java.sql.DriverManager}のためのユーティリティクラスです。
     *
     * @author koichik
     */
    public abstract class DriverManagerUtil {
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top