- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 2,828 for exception (0.05 seconds)
-
guava-tests/test/com/google/common/base/TestExceptions.java
import org.jspecify.annotations.NullUnmarked; /** Exception classes for use in tests. */ @GwtCompatible @NullUnmarked final class TestExceptions { static class SomeError extends Error {} static class SomeCheckedException extends Exception {} static class SomeOtherCheckedException extends Exception {} static class YetAnotherCheckedException extends Exception {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestExceptions.java
import org.jspecify.annotations.NullUnmarked; /** Exception classes for use in tests. */ @GwtCompatible @NullUnmarked final class TestExceptions { static class SomeError extends Error {} static class SomeCheckedException extends Exception {} static class SomeOtherCheckedException extends Exception {} static class YetAnotherCheckedException extends Exception {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java
import org.apache.maven.api.services.MavenException; /** * An exception thrown while writing an XML file. * * @since 4.0.0 */ @Experimental public class XmlWriterException extends MavenException { private final Location location; /** * @param message the message for the exception * @param e the exception itself */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 1.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcException.java
*/ package jcifs.smb1.dcerpc; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import jcifs.smb1.smb1.WinError; import jcifs.smb1.util.Hexdump; /** * DCE/RPC exception class for SMB1 compatibility */ public class DcerpcException extends IOException implements DcerpcError, WinError { static String getMessageByDcerpcError(final int errcode) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
assertNotNull(errorHandler, "Error handler should not be null"); // Test error classification for different exception types Exception hardwareError = new RuntimeException("RDMA hardware not supported"); Exception networkError = new java.io.IOException("Network connection failed"); Exception timeoutError = new java.net.SocketTimeoutException("Operation timed out"); // Test fallback logic
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 13.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
@DisplayName("Should throw exception for invalid structure size") void testReadBytesWireFormatInvalidStructureSize() { // Given byte[] buffer = new byte[10]; int bufferIndex = 0; SMBUtil.writeInt2(5, buffer, bufferIndex); // Invalid structure size // When & Then SMBProtocolDecodingException exception =Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java
} @Test void testNullSafe() throws Exception { Profile p = Profile.newInstance(); assertActivation(false, p, newContext(null, null)); p = p.withActivation(Activation.newInstance()); assertActivation(false, p, newContext(null, null)); } @Test void testWithNameOnlyUserProperty() throws Exception { Profile profile = newProfile("prop", null);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/SloppyTearDown.java
import java.util.logging.Logger; import org.jspecify.annotations.NullMarked; /** * Simple utility for when you want to create a {@link TearDown} that may throw an exception but * should not fail a test when it does. (The behavior of a {@code TearDown} that throws an exception * varies; see its documentation for details.) Use it just like a {@code TearDown}, except override * {@link #sloppyTearDown()} instead. * * @author Luiz-Otavio ZorzellaCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* @return the result returned by the Callable * @throws TimeoutException if the time limit is reached * @throws InterruptedException if the current thread was interrupted during execution * @throws ExecutionException if {@code callable} throws a checked exception * @throws UncheckedExecutionException if {@code callable} throws a {@code RuntimeException} * @throws ExecutionError if {@code callable} throws an {@code Error} * @since 22.0Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 8.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
import org.apache.maven.di.Injector; import org.apache.maven.execution.DefaultMavenExecutionRequest; import org.apache.maven.execution.MavenExecutionRequest; import org.apache.maven.execution.MavenExecutionRequestPopulator; import org.apache.maven.execution.scope.internal.MojoExecutionScope; import org.apache.maven.execution.scope.internal.MojoExecutionScopeModule; import org.apache.maven.extension.internal.CoreExports;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 14.3K bytes - Click Count (0)