Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SQLException (0.1 sec)

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

     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.sql.SQLException;
    
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * {@link SQLException}をラップする例外です。
     *
     * @author higa
     * @author manhole
     */
    public class SQLRuntimeException extends ClRuntimeException {
    
    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

         * @return {@link ResultSet}
         * @throws SQLRuntimeException
         *             {@link SQLException}が発生した場合
         */
        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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

            // ## Arrange ##
            Locale.setDefault(Locale.JAPANESE);
            final SQLException sqlException = new SQLException("some reason", "fooState", 7650);
            final SQLException sqlException2 = new SQLException("hoge reason", "barState", 7660);
            final SQLException sqlException3 = new SQLException("fuga reason", "bazState", 7670);
            sqlException.setNextException(sqlException2);
            sqlException2.setNextException(sqlException3);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/sql/StatementUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    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
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

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

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    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
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/ClSQLException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import java.sql.SQLException;
    
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * S2Util用の{@link SQLException}です。
     *
     * @author higa
     */
    public class ClSQLException extends SQLException {
    
        private static final long serialVersionUID = 4098267431221202677L;
    
        private final String messageCode;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. src/main/resources/CLMessages.properties

    ECL0068=InvalidKeyException occurred, because {0}
    ECL0069=NoSuchPaddingException occurred, because {0}
    ECL0070=Field({1}) of class({0}) not found
    ECL0071=SQLException(Message=[{0}], ErrorCode={1}, SQLState={2}) occurred
    ECL0072=SQLException(SQL=[{0}], Message=[{1}], ErrorCode={2}, SQLState={3}) occurred
    ECL0091=Illegal URL({0})
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:58:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Throwables.java

       * } catch (IKnowWhatToDoWithThisException e) {
       *   handle(e);
       * } catch (Throwable t) {
       *   Throwables.propagateIfInstanceOf(t, IOException.class);
       *   Throwables.propagateIfInstanceOf(t, SQLException.class);
       *   throw Throwables.propagate(t);
       * }
       * </pre>
       *
       * @deprecated Use {@link #throwIfInstanceOf}, which has the same behavior but rejects {@code
       *     null}.
       */
      @Deprecated
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top