Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SQLRuntimeException (0.08 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;
    
        /**
         * Creates a {@link SQLRuntimeException}.
         *
         * @param cause the underlying exception
         */
        public SQLRuntimeException(final SQLException cause) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

         * @return {@link ResultSet}
         * @throws SQLRuntimeException
         *             If a {@link SQLException} occurs.
         */
        public static ResultSet executeQuery(final PreparedStatement ps) throws SQLRuntimeException {
            assertArgumentNotNull("ps", ps);
    
            try {
                return ps.executeQuery();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

         * @return Whether the cursor successfully moved to the specified position.
         * @throws SQLRuntimeException
         *             If an SQL exception occurs.
         */
        public static boolean absolute(final ResultSet resultSet, final int index) throws SQLRuntimeException {
            assertArgumentNotNull("resultSet", resultSet);
    
            try {
                return resultSet.absolute(index);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 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;
    
    /**
     * Utility class for {@link Statement}.
     *
     * @author higa
     */
    public abstract class StatementUtil {
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5K 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;
    
    /**
     * Utility class for {@link java.sql.DriverManager}.
     *
     * @author koichik
     */
    public abstract class DriverManagerUtil {
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top