- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,231 for onerror (0.09 sec)
-
cmd/server-main.go
} } func initConfigSubsystem(ctx context.Context, newObject ObjectLayer) error { // %w is used by all error returns here to make sure // we wrap the underlying error, make sure when you // are modifying this code that you do so, if and when // you want to add extra context to your error. This // ensures top level retry works accordingly. // Initialize config system.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:18:36 UTC 2025 - 35.9K bytes - Viewed (4) -
tests/joins_table_test.go
t.Fatalf("Failed to find address, got error %v, length: %v", err, len(addresses1)) } if err := DB.Model(&person).Association("Addresses").Delete(&person.Addresses[0]); err != nil { t.Fatalf("Failed to delete address, got error %v", err) } if len(person.Addresses) != 1 { t.Fatalf("Should have one address left") }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 10 13:46:18 UTC 2020 - 3.5K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
// Test RuntimeException RuntimeException runtimeEx = new RuntimeException("Runtime error"); assertEquals("Runtime error", runtimeEx.getMessage()); // Test Exception Exception generalEx = new Exception("General error"); assertEquals("General error", generalEx.getMessage()); // Test with null message
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
docs/sts/assume-role.go
bs, err := io.ReadAll(f) if err != nil { log.Fatalf("Error reading session policy file: %v", err) } policy = string(bs) } stsOpts.Policy = policy } if expiryDuration != 0 { stsOpts.DurationSeconds = int(expiryDuration.Seconds()) } li, err := cr.NewSTSAssumeRole(stsEndpoint, stsOpts) if err != nil { log.Fatalf("Error initializing STS Identity: %v", err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Aug 17 01:24:54 UTC 2024 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
if (cause instanceof Error) { throw new ExecutionError((Error) cause); } else if (cause instanceof RuntimeException) { throw new UncheckedExecutionException(cause); } else { throw new ExecutionException(cause); } } private void wrapAndThrowRuntimeExecutionExceptionOrError(Throwable cause) { if (cause instanceof Error) { throw new ExecutionError((Error) cause);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
boolean errorNotThrown = false; try { SerializableTester.reserializeAndAssert(orig); errorNotThrown = true; } catch (AssertionFailedError error) { // expected assertContains("must be Object#equals to", error.getMessage()); } assertFalse(errorNotThrown); } public void testClassWhichIsAlwaysEqualButHasDifferentHashcodes() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
*/ @GwtCompatible @NullUnmarked final class UncheckedThrowingFuture<V> extends AbstractFuture<V> { public static <V> ListenableFuture<V> throwingError(Error error) { UncheckedThrowingFuture<V> future = new UncheckedThrowingFuture<V>(); future.complete(checkNotNull(error)); return future; } public static <V> ListenableFuture<V> throwingRuntimeException(RuntimeException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java
import java.io.IOException; /** * Exception thrown when an error occurs during NDR encoding or decoding operations. */ public class NdrException extends IOException { /** * Error message for null reference pointers. */ public static final String NO_NULL_REF = "ref pointer cannot be null"; /** * Error message for invalid array conformance. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
cmd/benchmark-utils_test.go
// Benchmark utility functions for ObjectLayer.PutObject(). // Creates Object layer setup ( MakeBucket ) and then runs the PutObject benchmark. func runPutObjectBenchmark(b *testing.B, obj ObjectLayer, objSize int) { var err error // obtains random bucket name. bucket := getRandomBucketName() // create bucket. err = obj.MakeBucket(b.Context(), bucket, MakeBucketOptions{}) if err != nil { b.Fatal(err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/failureurl/EditForm.java
*/ @Required public String url; /** * The name of the crawler thread that encountered the failure. * This is a required field used for identifying which crawler process failed. */ @Required public String threadName; /** * The name or type of the error that occurred.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.2K bytes - Viewed (0)