Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,896 for exception (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

     * when responses are of an unexpected type or cannot be decoded.
     *
     * Other exception types cancel the current call:
     *
     *  * For synchronous calls made with [Call.execute], the exception is propagated to the caller.
     *
     *  * For asynchronous calls made with [Call.enqueue], an [IOException] is propagated to the caller
     *    indicating that the call was canceled. The interceptor's exception is delivered to the current
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

          fail("no exception thrown");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testCheckArgument_simpleMessage_success() {
        Preconditions.checkArgument(true, IGNORE_ME);
      }
    
      public void testCheckArgument_simpleMessage_failure() {
        try {
          Preconditions.checkArgument(false, new Message());
          fail("no exception thrown");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CloseablesTest.java

        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception.
        setupCloseable(true);
        doClose(mockCloseable, true);
      }
    
      public void testClose_closeableWithThrownException() throws IOException {
        // make sure that the exception is thrown if 'swallowException' is false
        // when the mock does throw an exception.
        setupCloseable(true);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.es.user.exentity.User;
    import org.codelibs.fess.exception.CommandExecutionException;
    
    public class CommandChain implements AuthenticationChain {
    
        private static final Logger logger = LogManager.getLogger(CommandChain.class);
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultDependencyResolutionResult.java

        }
    
        public List<Exception> getCollectionErrors() {
            return collectionErrors;
        }
    
        public void setCollectionErrors(List<Exception> exceptions) {
            if (exceptions != null) {
                this.collectionErrors = exceptions;
            } else {
                this.collectionErrors = new ArrayList<>();
            }
        }
    
        public List<Exception> getResolutionErrors(Dependency dependency) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

            Plugin plugin = new Plugin();
            Exception cause = new PluginContainerException(plugin, null, null, cause2);
            PluginDescriptor pluginDescriptor = new PluginDescriptor();
            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setPluginDescriptor(pluginDescriptor);
            MojoExecution mojoExecution = new MojoExecution(mojoDescriptor);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            assertThat(itr.next(), is("a"));
            assertThat(itr.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
            exception.expect(ClUnsupportedOperationException.class);
            exception.expectMessage(is("remove"));
            final Vector<String> vector = new Vector<String>();
            vector.add("a");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java

        private final MojoExecution mojoExecution;
    
        private final Exception exception;
    
        DefaultExecutionEvent(Type type, MavenSession session, MojoExecution mojoExecution, Exception exception) {
            this.type = type;
            this.session = session;
            this.mojoExecution = mojoExecution;
            this.exception = exception;
        }
    
        @Override
        public Type getType() {
            return type;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

    public class NumberConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_byte() throws Exception {
            assertEquals(new Byte("1"), NumberConversionUtil.convertNumber(Byte.class, "1"));
        }
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_primitiveWrapper() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        }
    
        abstract boolean isPermitted(Exception exception);
    
        void assertPermitted(Exception exception) {
          if (!isPermitted(exception)) {
            String message =
                "Exception "
                    + exception.getClass().getSimpleName()
                    + " was thrown; expected "
                    + getMessage();
            Helpers.fail(exception, message);
          }
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top