Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ErrorMessage (0.11 sec)

  1. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

         * Test the constructor with a message.
         */
        @Test
        void testMessageConstructor() {
            String errorMessage = "This is a test error message.";
            PACDecodingException e = new PACDecodingException(errorMessage);
            // Expect the message to be set correctly and cause to be null
            assertEquals(errorMessage, e.getMessage());
            assertNull(e.getCause());
        }
    
        /**
         * Test the constructor with a cause.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. internal/logger/target/testlogger/testlogger.go

    	if tb != nil {
    		tbb := *tb
    		tbb.Helper()
    		switch t.action.Load() {
    		case errorMessage:
    			logf = tbb.Errorf
    		case fatalMessage:
    			logf = tbb.Fatalf
    		default:
    			logf = tbb.Logf
    		}
    	} else {
    		switch t.action.Load() {
    		case errorMessage:
    			logf = func(format string, args ...any) {
    				fmt.Fprintf(os.Stderr, format+"\n", args...)
    			}
    		case fatalMessage:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                    "${dir.absolutePath}:\n ${relativePaths.joinToString("\n ")}"
                }
                val errorMessage = "Found non-empty test files dir:\n$nonEmptyDirs"
                if (reportOnly.get()) {
                    println(errorMessage)
                } else {
                    throw GradleException(errorMessage)
                }
            }
        }
    
        /**
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Nov 05 11:43:49 UTC 2025
    - 12.5K bytes
    - Viewed (1)
  4. src/main/webapp/WEB-INF/view/error/system.jsp

    </head>
    <body class="error">
    	<jsp:include page="../header.jsp" />
    	<main class="container">
    		<div class="text-center">
    			<h2>
    				<la:message key="labels.system_error_title" />
    			</h2>
    			<div class="errormessage"><la:message key="labels.contact_site_admin" /></div>
    		</div>
    	</main>
    	<jsp:include page="../footer.jsp" />
    	<input type="hidden" id="contextPath" value="${pageContext.request.contextPath}" />
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/error/badRequest.jsp

    </head>
    <body class="error">
    	<jsp:include page="../header.jsp" />
    	<main class="container">
    		<div class="text-center">
    			<h2>
    				<la:message key="labels.request_error_title" />
    			</h2>
    			<div class="errormessage"><la:message key="labels.bad_request" /></div>
    		</div>
    	</main>
    	<jsp:include page="../footer.jsp" />
    	<input type="hidden" id="contextPath" value="${pageContext.request.contextPath}" />
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. internal/logger/console.go

    func (i infoMsg) pretty(msg string, args ...any) {
    	if msg == "" {
    		fmt.Fprintln(Output, args...)
    	} else {
    		fmt.Fprintf(Output, `INFO: `+msg, args...)
    	}
    }
    
    type errorMsg struct{}
    
    var errorMessage errorMsg
    
    func (i errorMsg) json(msg string, args ...any) {
    	var message string
    	if msg != "" {
    		message = fmt.Sprintf(msg, args...)
    	} else {
    		message = fmt.Sprint(args...)
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          AbstractFuture<String> future = new AbstractFuture<String>() {};
          AtomicReference<String> errorMessage = Atomics.newReference();
          executor.execute(
              new Runnable() {
                @Override
                public void run() {
                  future.set("success");
                  if (!future.isDone()) {
                    errorMessage.set("Set call exited before future was complete.");
                  }
                }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          AbstractFuture<String> future = new AbstractFuture<String>() {};
          AtomicReference<String> errorMessage = Atomics.newReference();
          executor.execute(
              new Runnable() {
                @Override
                public void run() {
                  future.set("success");
                  if (!future.isDone()) {
                    errorMessage.set("Set call exited before future was complete.");
                  }
                }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        try {
          new NullPointerTester().testMethod(bar, method);
        } catch (AssertionError incorrectError) {
          String errorMessage =
              rootLocaleFormat("Should not have flagged method %s for %s", method.getName(), bar);
          assertWithMessage(errorMessage).that(incorrectError).isNull();
        }
      }
    
      public void verifyBarFail(Method method, TwoArg bar) {
        try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                }
            }
    
            // Provide more detailed error information
            String errorMessage = "SMB server did not become ready within timeout";
            if (lastException != null) {
                errorMessage += ". Last error: " + lastException.getMessage();
            }
            throw new RuntimeException(errorMessage, lastException);
        }
    
        private void deleteRecursively(SmbFile file) throws SmbException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top