Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,652 for throwIf (0.09 sec)

  1. guava/src/com/google/common/collect/ImmutableMap.java

       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @CheckForNull
      @DoNotCall("Always throws UnsupportedOperationException")
      public final V replace(K key, V value) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       *   at ...
       * Caused by: com...ExampleStackTrace: ReadWriteA -> LockB
       *   at ...
       *   at ...
       * </pre>
       *
       * <p>Instances are logged for the {@code Policies.WARN}, and thrown for {@code Policies.THROW}.
       *
       * @since 13.0
       */
      public static final class PotentialDeadlockException extends ExampleStackTrace {
    
        private final ExampleStackTrace conflictingStackTrace;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      }
    
      public void testToString() throws Exception {
        Service a = new NoOpService();
        Service b = new FailStartService();
        ServiceManager manager = new ServiceManager(asList(a, b));
        String toString = manager.toString();
        assertThat(toString).contains("NoOpService");
        assertThat(toString).contains("FailStartService");
      }
    
      public void testTimeouts() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

            }
    
            public Object evaluate(String expression, Class<?> type) throws ExpressionEvaluationException {
                if (preprocessor != null) {
                    try {
                        return preprocessor.preprocessValue(expression, type);
                    } catch (BeanConfigurationException e) {
                        throw new ExpressionEvaluationException(e.getMessage(), e);
                    }
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Range.java

       * given values. The returned range is {@linkplain BoundType#CLOSED closed} on both ends.
       *
       * @throws ClassCastException if the values are not mutually comparable
       * @throws NoSuchElementException if {@code values} is empty
       * @throws NullPointerException if any of {@code values} is null
       * @since 14.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    Constants.MAVEN_HOME, invokerRequest.installationDirectory().toString());
        }
    
        protected void validate(C context) throws Exception {}
    
        protected void prepare(C context) throws Exception {}
    
        protected void configureLogging(C context) throws Exception {
            R invokerRequest = context.invokerRequest;
            // LOG COLOR
            Options mavenOptions = invokerRequest.options();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            if((read( tmp, 0, 4 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint32be( tmp, 0 );
        }
        public final long readLong() throws SmbException {
            if((read( tmp, 0, 8 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint64be( tmp, 0 );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbTransportPool.java

         * @param port
         * @param exclusive
         * @param forceSigning
         * @return a connected transport
         * @throws UnknownHostException
         * @throws IOException
         */
        SmbTransport getSmbTransport ( CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning )
                throws UnknownHostException, IOException;
    
    
        /**
         * Get transport connection
         * 
         * @param tc
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/PacDataInputStream.java

        }
    
    
        public int available () throws IOException {
            return this.dis.available();
        }
    
    
        public void readFully ( byte[] b ) throws IOException {
            this.dis.readFully(b);
        }
    
    
        public void readFully ( byte[] b, int off, int len ) throws IOException {
            this.dis.readFully(b, off, len);
        }
    
    
        public char readChar () throws IOException {
            align(2);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 21 21:19:58 UTC 2018
    - 5.1K bytes
    - Viewed (0)
Back to top