Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,967 for throws (0.25 sec)

  1. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

        }
    
        @Test
        void testRootDirectoryNotPrefixed() throws Exception {
            ExpressionEvaluator ee = createExpressionEvaluator(createDefaultProject(), new Properties());
            assertNull(ee.evaluate("${rootDirectory}"));
        }
    
        @Test
        void testRootDirectoryWithNull() throws Exception {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/IntMath.java

       * {@code checkedPow(2, log2(x, CEILING))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException of the next-higher power of two is not representable as an {@code
       *     int}, i.e. when {@code x > 2^30}
       * @since 20.0
       */
      public static int ceilingPowerOfTwo(int x) {
        checkPositive("x", x);
        if (x > MAX_SIGNED_POWER_OF_TWO) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
        String text = "a\nb\nc";
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharStreamsTest.java

      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
        String text = "a\nb\nc";
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableCollection.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean removeIf(Predicate<? super E> filter) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the collection unmodified.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/DefaultGradleRunnerTest.groovy

        }
    
        def "throws exception if working directory is not provided when build is requested"() {
            when:
            createRunner().build()
    
            then:
            def t = thrown(InvalidRunnerConfigurationException)
            t.message == 'Please specify a project directory before executing the build'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    }
                }
            }
        }
        public void connect() throws SmbException {
            try {
                super.connect( RESPONSE_TIMEOUT );
            } catch( TransportException te ) {
                throw new SmbException( "Failed to connect: " + address, te );
            }
        }
        protected void doConnect() throws IOException {
            /*
             * Negotiate Protocol Request / Response
             */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  8. platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/AntlrExecuter.java

                    }
                }catch(ClassNotFoundException cnf){
                    throw cnf;
                } catch (InvocationTargetException e) {
                    throw new GradleException("Failed to load ANTLR", e.getCause());
                } catch (Exception e) {
                    throw new GradleException("Failed to load ANTLR", e);
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/PACTest.java

         * @param data
         * @param key
         * @throws GeneralSecurityException
         */
        private static void verifyAESMAC ( int usage, String expect, String data, String key ) throws GeneralSecurityException {
            verifyAESHMAC(usage, expect, key, Hex.decode(data));
        }
    
    
        private static void verifyArcfourHMAC ( int usage, String expect, String data, String key ) throws GeneralSecurityException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @throws IllegalAccessRuntimeException
         *             {@link IllegalAccessException}が発生した場合
         * @see Field#getInt(Object)
         */
        public static int getInt(final Field field, final Object target) throws IllegalAccessRuntimeException {
            assertArgumentNotNull("field", field);
    
            try {
                return field.getInt(target);
            } catch (final IllegalAccessException ex) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top