Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 4,853 for Throw (0.07 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

                        cleanupThread(timeout);
                        throw new ConnectionTimeoutException("Connection timeout");
                    case 2:
                        if ( this.te != null ) { /* doConnect throw Exception */
                            this.state = 4; /* error */
                            cleanupThread(timeout);
                            throw this.te;
                        }
                        this.state = 3; /* Success! */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/kerberos/KerberosToken.java

            if ( token.length <= 0 )
                throw new PACDecodingException("Empty kerberos token");
    
            byte[] content;
            try ( ASN1InputStream stream = new ASN1InputStream(token) ) {
                content = ASN1Util.readUnparsedTagged(0, 0x8000, stream);
            }catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos token", e);
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closer.java

       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
       * @return this method does not return; it always throws
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/TarFileTree.java

        public void visit(FileVisitor visitor) {
            File archiveFile = tarFileProvider.get();
            if (!archiveFile.exists()) {
                throw new InvalidUserDataException(format("Cannot expand %s as it does not exist.", getDisplayName()));
            }
            if (!archiveFile.isFile()) {
                throw new InvalidUserDataException(format("Cannot expand %s as it is not a file.", getDisplayName()));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildRegistry.java

        public RootBuildState getRootBuild() {
            if (rootBuild == null) {
                throw new IllegalStateException("Root build is not defined.");
            }
            return rootBuild;
        }
    
        @Override
        public RootBuildState createRootBuild(BuildDefinition buildDefinition) {
            if (rootBuild != null) {
                throw new IllegalStateException("Root build already defined.");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            }
            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 );
        }
        public final float readFloat() throws SmbException {
            if((read( tmp, 0, 4 )) < 0 ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CollectPreconditions.java

        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
        }
      }
    
      @CanIgnoreReturnValue
      static int checkNonnegative(int value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 30 10:33:07 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultVariantTransformRegistry.java

            if (registration.to.isEmpty()) {
                throw new IllegalArgumentException("At least one 'to' attribute must be provided.");
            }
            if (registration.from.isEmpty()) {
                throw new IllegalArgumentException("At least one 'from' attribute must be provided.");
            }
            if (!registration.from.keySet().containsAll(registration.to.keySet())) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                }
            } catch (ConnectionException e) {
                throw new TransferFailedException("Connection failed: " + e.getMessage(), e);
            } catch (AuthenticationException e) {
                throw new TransferFailedException("Authentication failed: " + e.getMessage(), e);
            } catch (AuthorizationException e) {
                throw new TransferFailedException("Authorization failed: " + e.getMessage(), e);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/ExclusiveCacheAccessingWorkerTest.groovy

            given:
            def counter = 0
            def failure = new RuntimeException()
            start(cacheAccessWorker)
    
            when:
            cacheAccessWorker.enqueue { throw failure }
            cacheAccessWorker.enqueue { throw new RuntimeException() }
            cacheAccessWorker.enqueue { counter++ }
            cacheAccessWorker.flush()
    
            then:
            counter == 1
            def e = thrown(RuntimeException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top