Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 1,205 for Exceptions (0.11 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        try {
          queue.dispatch();
        } finally {
          logger.removeHandler(logHandler);
        }
    
        assertEquals(1, logHandler.getStoredLogRecords().size());
        assertEquals(
            "Exception while executing callback: MyListener custom-label",
            logHandler.getStoredLogRecords().get(0).getMessage());
      }
    
      public void testEnqueueAndDispatch_multithreaded() throws InterruptedException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        try {
          queue.dispatch();
        } finally {
          logger.removeHandler(logHandler);
        }
    
        assertEquals(1, logHandler.getStoredLogRecords().size());
        assertEquals(
            "Exception while executing callback: MyListener custom-label",
            logHandler.getStoredLogRecords().get(0).getMessage());
      }
    
      public void testEnqueueAndDispatch_multithreaded() throws InterruptedException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProvider.java

            if (StringUtil.isNotBlank(name)) {
                try {
                    return requestManager.getParameter(name).filter(StringUtil::isNotBlank).map(LocaleUtils::toLocale);
                } catch (final Exception e) {
                    logger.debug("Failed to parse a value of {}.", name, e);
                }
            }
            return OptionalObject.empty();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt

        val route: Route,
        val call: Call,
      ) : ConnectionEvent()
    
      data class ConnectFailed(
        override val timestampNs: Long,
        val route: Route,
        val call: Call,
        val exception: IOException,
      ) : ConnectionEvent() {
        override fun closes(event: ConnectionEvent): Boolean = event is ConnectStart && call == event.call && route == event.route
      }
    
      data class ConnectEnd(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

            }
    
            Map<String, Object> doc = null;
            try {
                doc = searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getCacheResponseFields(), getUserBean()).orElse(null);
            } catch (final Exception e) {
                logger.warn("Failed to request: {}", form.docId, e);
            }
            if (doc == null) {
                saveError(messages -> messages.addErrorsDocidNotFound(GLOBAL, form.docId));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/SingleValueIterator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.collection;
    
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * 一つの値を返す{@link Iterator}です。
     *
     * @author koichik
     * @param <E>
     *            要素の型
     */
    public class SingleValueIterator<E> implements Iterator<E> {
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import org.codelibs.core.lang.MethodUtil;
    
    /**
     * {@link NoSuchMethodException}をラップする例外です。
     *
     * @author higa
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableList.java

        @Override
        @J2ktIncompatible // serialization
        @GwtIncompatible // serialization
        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      /**
       * Guaranteed to throw an exception and leave the list unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteArrayDataInput.java

     * IllegalStateException} to signify <i>programmer error</i>. This behavior is a technical violation
     * of the supertype's contract, which specifies a checked exception.
     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface ByteArrayDataInput extends DataInput {
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

        if (!super.setException(new WrapperException(checkNotNull(e)))) {
          throw new IllegalStateException("Future was already complete: " + this);
        }
      }
    
      private static final class WrapperException extends Exception {
        WrapperException(Throwable t) {
          super(t);
        }
      }
    
      private static void rethrow(ExecutionException e) throws ExecutionException {
        Throwable wrapper = e.getCause();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 12 20:02:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
Back to top