Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 2,742 for throws (0.09 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateDefaultImports.java

        /**
         * Package name can end with '.**' to exclude subpackages as well.
         */
        @Input
        public abstract SetProperty<String> getExcludedPackages();
    
        @TaskAction
        public void generate() throws IOException {
            final Set<String> packages = new LinkedHashSet<>();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt

      val routes = mutableListOf<Route>()
    
      fun onlyResponse() = responses.single()
    
      fun onlyRoute() = routes.single()
    
      @Throws(IOException::class)
      override fun authenticate(
        route: Route?,
        response: Response,
      ): Request? {
        if (route == null) throw NullPointerException("route == null")
        responses += response
        routes += route
        if (!schemeMatches(response) || credential == null) return null
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

        @Override
        public String apply(Integer input) {
          if (input.intValue() == VALID_INPUT_DATA) {
            return RESULT_DATA;
          } else {
            throw WRAPPED_EXCEPTION;
          }
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
        inputFuture.set(EXCEPTION_DATA);
        listener.assertException(WRAPPED_EXCEPTION);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 28 16:27:15 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2LockResponse.java

         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 4 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            return 4;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

        private String domainController;
        private boolean loadBalance;
        private boolean enableBasic;
        private boolean insecureBasic;
        private String realm;
    
        public void init( FilterConfig filterConfig ) throws ServletException {
            String name;
            int level;
    
            /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 30min.
             */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

    import groovy.lang.GroovyClassLoader;
    import groovy.lang.GroovyShell;
    
    public class AbstractDataStoreTest extends UnitFessTestCase {
        public AbstractDataStore dataStore;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            dataStore = new AbstractDataStore() {
                @Override
                protected String getName() {
                    return "Test";
                }
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

     */
    @J2ktIncompatible // threads
    @GwtIncompatible // threads
    public class AtomicLongMapBasherTest extends TestCase {
      private final Random random = new Random(301);
    
      public void testModify_basher() throws Exception {
        int nTasks = 3000;
        int nThreads = 100;
        final int getsPerTask = 1000;
        final int deltaRange = 10000;
        final String key = "key";
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/resident/ResidentMavenInvoker.java

     * @since 4.0.0
     */
    @Experimental
    public interface ResidentMavenInvoker extends MavenInvoker<MavenInvokerRequest<MavenOptions>> {
        /**
         * Closes cleanly the daemon.
         */
        @Override
        void close() throws InvokerException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 15:33:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/GoalSupport.java

            this.messageBuilderFactory = messageBuilderFactory;
            this.secDispatcher = secDispatcher;
        }
    
        protected boolean configExists() throws IOException {
            return secDispatcher.readConfiguration(false) != null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactoryTest.java

        private File getSettings(String name) {
            return new File("src/test/resources/settings/factory/" + name + ".xml").getAbsoluteFile();
        }
    
        @Test
        void testCompleteWiring() throws Exception {
            SettingsBuilder builder = new DefaultSettingsBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultSettingsBuildingRequest request = new DefaultSettingsBuildingRequest();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top