Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,885 for Exception (0.06 sec)

  1. 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();
            throw new AssertionError(message, exception);
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

      }
    
      public void testSetFailure() throws Exception {
        assertTrue(future.setException(new Exception("failure")));
        tester.testFailedFuture("failure");
      }
    
      public void testSetFailureNull() throws Exception {
        assertThrows(NullPointerException.class, () -> future.setException(null));
        assertFalse(future.isDone());
        assertTrue(future.setException(new Exception("failure")));
        tester.testFailedFuture("failure");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.request.suggest.SuggestResponse;
    import org.junit.Test;
    
    public class DeferredTest {
        @Test
        public void test_doneBeforeResolve() throws Exception {
            final Deferred<SuggestResponse> deferred = new Deferred<>();
    
            Thread th = new Thread(() -> {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

         * @param exception The exception that caused this problem, may be {@code null}.
         */
        // mkleint: does this need to be public?
        public DefaultModelProblem(
                String message,
                Severity severity,
                Version version,
                Model source,
                int lineNumber,
                int columnNumber,
                Exception exception) {
            this(
                    message,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

        }
    
        protected StringBuilder appendException(final StringBuilder buf, final Exception exception) {
            try (ByteArrayOutputStream baos = new ByteArrayOutputStream();
                    PrintWriter writer = new PrintWriter(baos, false, Constants.CHARSET_UTF_8)) {
                exception.printStackTrace(writer);
                writer.flush();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

                notifyAll();
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#exception(java.lang.Exception)
         */
        @Override
        public final void exception ( Exception e ) {
            this.error = true;
            this.exception = e;
            this.received = true;
            synchronized ( this ) {
                notifyAll();
            }
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

      }
    
      public void testConstructor() throws Exception {
        Invokable<A, A> invokable = A.constructor();
        assertTrue(invokable.isPublic());
        assertFalse(invokable.isPackagePrivate());
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isStatic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testAbstractMethod() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/InvokableTest.java

      }
    
      public void testConstructor() throws Exception {
        Invokable<A, A> invokable = A.constructor();
        assertTrue(invokable.isPublic());
        assertFalse(invokable.isPackagePrivate());
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isStatic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testAbstractMethod() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         */
        String getApiJsonResponseExceptionIncluded();
    
        /**
         * Is the property for the key 'api.json.response.exception.included' true? <br>
         * The value is, e.g. false <br>
         * @return The determination, true or false. (if not found, exception but basically no way)
         */
        boolean isApiJsonResponseExceptionIncluded();
    
        /**
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 468.5K bytes
    - Viewed (1)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java

            return severity;
        }
    
        public Version getVersion() {
            return version;
        }
    
        public Exception getException() {
            return exception;
        }
    
        public ModelProblemCollectorRequest setException(Exception exception) {
            this.exception = exception;
            return this;
        }
    
        public String getMessage() {
            return message;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top