- Sort Score
- Num 10 results
- Language All
Results 961 - 970 of 2,639 for erros (0.08 seconds)
-
src/test/java/jcifs/smb/SmbTransportInternalTest.java
verify(transport).isSigningEnforced(); } // Error propagation: signing checks may throw SmbException @Test @DisplayName("signing checks propagate SmbException") void signingChecks_throw() throws Exception { doThrow(new SmbException("opt error")).when(transport).isSigningOptional(); doThrow(new SmbException("enf error")).when(transport).isSigningEnforced();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
return buffer.toString(); } private void writeLastUpdated(File touchfile, String key, String error) { HashMap<String, String> update = new HashMap<>(); update.put(key, Long.toString(System.currentTimeMillis())); update.put(key + ERROR_KEY_SUFFIX, error); // error==null => remove mapping trackingFileManager.update(touchfile, update); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java
* <p>This exception can be thrown with a message, a cause, or both.</p> * * <pre> * Example usage: * throw new SuggestIndexException("Indexing error occurred"); * throw new SuggestIndexException(new IOException("IO error")); * throw new SuggestIndexException("Indexing error", new IOException("IO error")); * </pre> * * @see SuggesterException */ public class SuggestIndexException extends SuggesterException {
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
* except using little-endian byte order. * * @return the next two bytes of the input stream, interpreted as an unsigned 16-bit integer in * little-endian byte order * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue // to skip some bytes @Override public int readUnsignedShort() throws IOException { byte b1 = readAndCheckByte(); byte b2 = readAndCheckByte();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 7.3K bytes - Click Count (0) -
src/archive/zip/writer_test.go
t.Fatalf("unexpected CreateHeader error: %v", err) } if err := w.Close(); err != nil { t.Fatalf("unexpected Close error: %v", err) } want, err := os.ReadFile("testdata/time-go.zip") if err != nil { t.Fatalf("unexpected ReadFile error: %v", err) } if got := buf.Bytes(); !bytes.Equal(got, want) { fmt.Printf("%x\n%x\n", got, want) t.Error("contents of time-go.zip differ") } }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 14.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
equalsTester = new EqualsTester(); equalObject1 = new ValidTestObject(1, 2); equalObject2 = new ValidTestObject(1, 2); notEqualObject1 = new ValidTestObject(0, 2); } /** Test null reference yields error */ public void testAddNullReference() { assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null)); } /** Test equalObjects after adding multiple instances at once with a null */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
/** * Sets up the test environment before each test. * Initializes a mock {@link SmbPipeResource} and a mock implementation of {@link SmbPipeHandle}. * @throws CIFSException if an error occurs during setup. */ @BeforeEach public void setUp() throws CIFSException { mockPipeResource = mock(SmbPipeResource.class); mockSmbPipeHandleInternal = mock(SmbPipeHandleInternal.class);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
String server = "testServer"; int access = 123; int errorRetval = 12345; // Simulate an error code // Setup for successful constructor doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class)); // Setup for close to return an error ArgumentCaptor<MsrpcSamrCloseHandle> closeCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
cmd/erasure-object-conditional_test.go
if !isErrReadQuorum(err) { t.Errorf("Expected read quorum error when if-match is used with quorum failure, got: %v", err) } }) t.Run("if-match wrong etag with read quorum failure", func(t *testing.T) { // Test Case 3: if-match with wrong ETag // Even if the ETag doesn't match, we should still get read quorum error // because we can't read the object to check the condition. opts := ObjectOptions{Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/StorageException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * This exception is thrown when a storage-related error occurs. * It can be used to wrap underlying storage exceptions, providing a * consistent error handling mechanism for storage operations. */ public class StorageException extends FessSystemException { private static final long serialVersionUID = 1L; /**Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.5K bytes - Click Count (0)