- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 2,976 for throwIt (0.08 sec)
-
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
} private void parse(final byte[] material) throws IOException { for (int i = 0; i < 8; i++) { if (material[i] != NTLMSSP_SIGNATURE[i]) { throw new IOException("Not an NTLMSSP message."); } } if (readULong(material, 8) != 2) { throw new IOException("Not a Type 2 message."); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java
throws ArtifactResolutionException { // Metadata cannot be found if (result.hasMetadataResolutionExceptions()) { throw result.getMetadataResolutionException(0); } // Metadata cannot be retrieved // Cyclic Dependency Error if (result.hasCircularDependencyExceptions()) { throw result.getCircularDependencyException(0);Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
throw new TransportException(expectedMessage); }); // Test throwing and catching with cause RuntimeException cause = new RuntimeException("Cause"); TransportException thrown = assertThrows(TransportException.class, () -> { throw new TransportException(cause); }); assertEquals(cause, thrown.getCause());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
void acceptWithNullThrows() { SmbFileFilter throwOnNull = new SmbFileFilter() { @Override public boolean accept(SmbFile file) throws SmbException { if (file == null) { throw new SmbException("null file"); } return true; } };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ComputationException.java
* * @author Bob Lee * @since 2.0 * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was * thrown by {@link MapMaker} computing maps. When support for computing maps was removed from * {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code * ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. AnyRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComputationException.java
* * @author Bob Lee * @since 2.0 * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was * thrown by {@link MapMaker} computing maps. When support for computing maps was removed from * {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code * ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. AnyRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java
} else { // Windows return scriptFile.getAbsolutePath() + " $INPUT_FILE"; } } public void test_getText() throws IOException { final File scriptFile = createScriptTempFile(3); final String content = "TEST"; final File contentFile = createContentFile(".txt", content.getBytes());Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
* @param searchAttributes the file attributes to search for * @throws CIFSException if an error occurs during initialization */ public DirFileEntryEnumIterator2(final SmbTreeHandleImpl th, final SmbResource parent, final String wildcard, final ResourceNameFilter filter, final int searchAttributes) throws CIFSException { super(th, parent, wildcard, filter, searchAttributes); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
return ((InetAddress) this.addr).getHostAddress(); } /** * {@inheritDoc} * * @throws UnknownHostException if the host cannot be resolved * * @see jcifs.Address#toInetAddress() */ @Override public InetAddress toInetAddress() throws UnknownHostException { if (this.addr instanceof Address) { return ((Address) this.addr).toInetAddress();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0)