Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 2,742 for throws (0.06 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java

         * @throws PrompterException if an exception occurs
         */
        @Nonnull
        String promptForPassword(@Nullable String message) throws PrompterException;
    
        /**
         * Displays a message to the user.
         *
         * @param message the message to display
         * @throws PrompterException if an exception occurs
         */
        void showMessage(@Nullable String message) throws PrompterException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbTreeHandle.java

         */
        @Override
        void close () throws CIFSException;
    
    
        /**
         * @return the tree is connected
         */
        boolean isConnected ();
    
    
        /**
         * @return server timezone offset
         * @throws CIFSException
         */
        long getServerTimeZoneOffset () throws CIFSException;
    
    
        /**
         * @return server reported domain name
         * @throws CIFSException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt

     */
    open class DelegatingServerSocketFactory(private val delegate: ServerSocketFactory) : ServerSocketFactory() {
      @Throws(IOException::class)
      override fun createServerSocket(): ServerSocket {
        val serverSocket = delegate.createServerSocket()
        return configureServerSocket(serverSocket)
      }
    
      @Throws(IOException::class)
      override fun createServerSocket(port: Int): ServerSocket {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

            final String queryString = request.getQueryString();
            if (StringUtil.isNotBlank(queryString)) {
                return parseQueryString(queryString, enc);
            }
            return Collections.emptyMap();
        }
    
        protected Map<String, String[]> parseQueryString(final String queryString, final String enc) throws IOException {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

            header = new byte[4];
            tmp = new byte[TMP_BUFFER_SIZE];
        }
    
        public synchronized int read() throws IOException {
            if( read( tmp, 0, 1 ) < 0 ) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
        public synchronized int read( byte[] b ) throws IOException {
            return read( b, 0, b.length );
        }
    
        /* This method will not return until len bytes have been read
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Serialization.java

          try {
            field.set(instance, value);
          } catch (IllegalAccessException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        void set(T instance, int value) {
          try {
            field.set(instance, value);
          } catch (IllegalAccessException impossible) {
            throw new AssertionError(impossible);
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      }
    
      public void testGetCheckedUntimed_runtimeException() throws TwoArgConstructorException {
        RuntimeException expected =
            assertThrows(
                RuntimeException.class,
                () -> getChecked(RUNTIME_EXCEPTION_FUTURE, TwoArgConstructorException.class));
        assertEquals(RUNTIME_EXCEPTION, expected);
      }
    
      public void testGetCheckedUntimed_error() throws TwoArgConstructorException {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

    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(() -> {
                try {
                    Thread.sleep(1000);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSourceTester.java

      public void testReadLines_toList() throws IOException {
        assertExpectedLines(source.readLines());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.isEmpty(), source.isEmpty());
      }
    
      public void testLength() throws IOException {
        assertEquals(expected.length(), source.length());
      }
    
      public void testLengthIfKnown() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

        class SneakyThrower<T extends Throwable> {
          @SuppressWarnings("unchecked") // intentionally unsafe for test
          void throwIt(Throwable t) throws T {
            throw (T) t;
          }
        }
        new SneakyThrower<Error>().throwIt(t);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top