Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 2,342 for Exceptions (0.08 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() throws Exception {
            // Given
            String filename = "\\\\server\\share\\file.txt";
    
            // When
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/CredentialsInternalTest.java

        @Test
        @DisplayName("createContext accepts null/empty optional parameters")
        void createContext_edge_parameters_ok() throws Exception {
            TestCredentials creds = new TestCredentials("D", false, false, new Subject(), false);
            // Intentionally pass null/empty values for optional parameters; expect no exception
            SSPContext ctx1 = creds.createContext(mockContext, null, "", null, false);
            assertNotNull(ctx1);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

        }
    
        /**
         * Logs an error message with exception details to the annotation processing environment.
         *
         * @param message the error message
         * @param e the exception that occurred
         */
        private void logError(String message, Exception e) {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TestLocking.java

                    }
    
                }
            } catch (final Exception e) {
                logger.error("Error in test execution", e);
            } finally {
                numComplete++;
            }
        }
    
        /**
         * Main method to run the locking test.
         *
         * @param args command line arguments: [-t numThreads] [-i numIter] [-d delay] url
         * @throws Exception if an error occurs during test execution
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

        @Mock
        private ServerMessageBlock mockAndx;
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
        private SmbComSessionSetupAndX setupAndX;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
    
            // Create a real ServerData instance as it's not mockable (inner class)
            SmbTransport.ServerData serverData = mockTransport.new ServerData();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/ClSQLException.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import java.sql.SQLException;
    
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * {@link SQLException} for S2Util.
     *
     * @author higa
     */
    public class ClSQLException extends SQLException {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

                return f.get(target);
            } catch (Exception e) {
                fail("Failed to get field '" + name + "'", e);
                return null;
            }
        }
    
        /**
         * Test that the wire-format of the parameters is produced
         * correctly when all fields are set to typical values.
         */
        @Test
        void happyPathParameterEncoding() throws Exception {
            Configuration cfg = mock(Configuration.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

         * it may throw the exception on the (n-1)th element (oops!).
         */
    
        /* Checks the case where the first element throws an exception. */
    
        List<Integer> list = emptyList();
        Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list));
        assertNextThrows(iterator);
    
        /* Checks the case where a later element throws an exception. */
    
        list = Lists.newArrayList(1, 2);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/custom-request-and-route.md

    But because of our changes in `GzipRequest.body`, the request body will be automatically decompressed when it is loaded by **FastAPI** when needed.
    
    ## Accessing the request body in an exception handler { #accessing-the-request-body-in-an-exception-handler }
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/ServletRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    import jakarta.servlet.ServletException;
    
    /**
     * Runtime exception wrapper for ServletException.
     *
     * This exception is used to wrap checked ServletExceptions and convert them
     * into unchecked RuntimeExceptions, allowing them to be thrown from methods
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top