Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 901 for onerror (0.05 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

         * @param policyHandle the policy handle for this domain
         * @param access the desired access rights
         * @param sid the security identifier of the domain
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrDomainHandle(final DcerpcHandle handle, final SamrPolicyHandle policyHandle, final int access, final rpc.sid_t sid)
                throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

         *
         * @param handle the DCE/RPC handle for communication
         * @param server the server name (null defaults to local server)
         * @param access the desired access rights
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrPolicyHandle(final DcerpcHandle handle, String server, final int access) throws IOException {
            this.handle = handle;
            if (server == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

                return null;
            }
        }
    
        // ScriptEngine implementation with error handling
        private static class ErrorHandlingScriptEngine implements ScriptEngine {
            @Override
            public Object evaluate(String template, Map<String, Object> paramMap) {
                if ("error".equals(template)) {
                    // Simulate error by returning null
                    return null;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

     * {@link SmbException#getMessageByCode(int)} and
     * {@link SmbException#getStatusByCode(int)}.
     */
    @DisplayName("SmbAuthException Tests")
    class SmbAuthExceptionTest {
    
        /**
         * Provides a set of error codes covering normal, edge and unknown cases.
         */
        static Stream<Arguments> errorCodes() {
            return Stream.of(
                    // Known NT status code - NT_STATUS_UNSUCCESSFUL
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

            // Arrange & Act: create exception with error code
            SmbAuthException ex = new SmbAuthException(errCode);
    
            // Assert: type, message derived from code, status mapping, and no cause
            assertNotNull(ex);
            assertTrue(ex instanceof SmbException);
            assertEquals(SmbException.getMessageByCode(errCode), ex.getMessage(), "message should reflect error code mapping");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SneakyThrows.java

       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
       *     write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always
       *     throw.
       */
      @CanIgnoreReturnValue
      static Error sneakyThrow(Throwable t) {
        throw new SneakyThrows<Error>().throwIt(t);
      }
    
      @SuppressWarnings("unchecked") // not really safe, but that's the point
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SneakyThrows.java

       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
       *     write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always
       *     throw.
       */
      @CanIgnoreReturnValue
      static Error sneakyThrow(Throwable t) {
        throw new SneakyThrows<Error>().throwIt(t);
      }
    
      @SuppressWarnings("unchecked") // not really safe, but that's the point
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            Exception level1 = new Exception("Level 1: Authentication service error", level2);
            SsoProcessException topLevel = new SsoProcessException("SSO process failed", level1);
    
            // Verify the chain
            assertEquals("SSO process failed", topLevel.getMessage());
            assertEquals(level1, topLevel.getCause());
            assertEquals("Level 1: Authentication service error", topLevel.getCause().getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            RuntimeException middleCause = new RuntimeException("LDAP configuration error", innerCause);
            LdapOperationException exception = new LdapOperationException("LDAP operation failed", middleCause);
    
            assertEquals("LDAP operation failed", exception.getMessage());
            assertEquals(middleCause, exception.getCause());
            assertEquals("LDAP configuration error", exception.getCause().getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

    public class SearchEngineClientExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withMessage() {
            // Test constructor with message only
            String message = "Test error message";
            SearchEngineClientException exception = new SearchEngineClientException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top