Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 276 for setMessage (0.06 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

                    () -> interpolator.interpolateModel(
                            model, (Path) null, createModelBuildingRequest(context), collector));
    
            assertEquals(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, e.getMessage());
        }
    
        @Test
        public void testEnvars() throws Exception {
            context.put("env.HOME", "/path/to/home");
    
            Map<String, String> modelProperties = new HashMap<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exec/Crawler.java

            final CmdLineParser parser = new CmdLineParser(options);
            try {
                parser.parseArgument(args);
            } catch (final CmdLineException e) {
                System.err.println(e.getMessage());
                System.err.println("java " + Crawler.class.getCanonicalName() + " [options...] arguments...");
                parser.printUsage(System.err);
                return;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        TimeoutException e = assertThrows(TimeoutException.class, () -> testFuture.get(1, NANOSECONDS));
        assertThat(e.getMessage()).contains("1 nanoseconds");
        assertThat(e.getMessage()).contains("Because this test isn't done");
      }
    
      public void testToString_completesDuringToString() throws Exception {
        AbstractFuture<Object> testFuture =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileLocationTest.java

            try ( SmbFile f = new SmbFile("smb://[::1]/", getContext()) ) {
                f.list();
            } catch (final SmbException e) {
                if (!"Failed to connect: /0:0:0:0:0:0:0:1".equals(e.getMessage())) {
                    throw e;
                }
            }
        }
    
        private static class TestDfsReferral implements DfsReferralData {
    
            private String server;
            private String share;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NetworkExplorer.java

                        }
                        this.style = sb.toString();
                    }
                }
                catch ( IOException ioe ) {
                    throw new ServletException(ioe.getMessage());
                }
    
                this.enableBasic = Config.getBoolean(p, "jcifs.http.enableBasic", false);
                this.insecureBasic = Config.getBoolean(p, "jcifs.http.insecureBasic", false);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          if (!isPermitted(exception)) {
            String message =
                "Exception "
                    + exception.getClass().getSimpleName()
                    + " was thrown; expected "
                    + getMessage();
            throw new AssertionError(message, exception);
          }
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

                            doRecv(response);
                            response.received();
                        }
                    }
                }
                catch ( Exception ex ) {
                    String msg = ex.getMessage();
                    boolean timeout = ( ex instanceof SocketTimeoutException ) || msg != null && msg.equals("Read timed out");
                    boolean closed = msg != null && msg.equals("Socket closed");
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                        logger.debug("Result: metadata: {}", metadata);
                    }
    
                    return extractData;
                } catch (final TikaException e) {
                    if (e.getMessage().indexOf("bomb") >= 0) {
                        throw e;
                    }
                    final Throwable cause = e.getCause();
                    if (cause instanceof SAXException) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          if (!isPermitted(exception)) {
            String message =
                "Exception "
                    + exception.getClass().getSimpleName()
                    + " was thrown; expected "
                    + getMessage();
            throw new AssertionError(message, exception);
          }
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableListMultimap.java

        ImmutableMap<Object, ImmutableList<Object>> tmpMap;
        try {
          tmpMap = builder.buildOrThrow();
        } catch (IllegalArgumentException e) {
          throw (InvalidObjectException) new InvalidObjectException(e.getMessage()).initCause(e);
        }
    
        FieldSettersHolder.MAP_FIELD_SETTER.set(this, tmpMap);
        FieldSettersHolder.SIZE_FIELD_SETTER.set(this, tmpSize);
      }
    
      @GwtIncompatible // Not needed in emulated source
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top