- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,496 for Throw (0.04 sec)
-
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
public T next() { try { return iterator.next(); } catch (NoSuchElementException e) { nextThrewException = true; throw e; } } @Override public void remove() { if (nextThrewException) { throw new IllegalStateException(); } iterator.remove(); } } public void testCanCatchSunJavaBug6529795InTargetIterator() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
throw new SmbUnsupportedOperationException(); } throw e; } try ( SmbFile browser = (SmbFile) parent.resolve(addr.getHostAddress()) ) { try ( SmbTreeHandleImpl th = browser.ensureTreeConnected() ) { if ( th.isSMB2() ) { throw new SmbUnsupportedOperationException();
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Jul 20 08:41:19 UTC 2019 - 12.5K bytes - Viewed (0) -
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) -
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) -
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) -
platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/JvmInstallationMetadata.java
throw unsupportedOperation(); } @Override public String getRuntimeVersion() { throw unsupportedOperation(); } @Override public String getJvmName() { throw unsupportedOperation(); } @Override public String getJvmVersion() { throw unsupportedOperation(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 10.7K bytes - Viewed (0) -
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) -
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) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
RequestParam.NO_RETRY); } } catch ( CIFSException e ) { throw SmbException.wrap(e); } } @Override public final boolean readBoolean () throws SmbException { if ( ( read(this.tmp, 0, 1) ) < 0 ) { throw new SmbEndOfFileException(); } return this.tmp[ 0 ] != (byte) 0x00; } @Override
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Wed Jan 08 12:01:33 UTC 2020 - 18.5K bytes - Viewed (1) -
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)