Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 981 - 990 of 2,371 for Try (0.01 seconds)

  1. android/guava/src/com/google/common/hash/LongAddables.java

     *
     * @author Louis Wasserman
     */
    final class LongAddables {
      private static final Supplier<LongAddable> SUPPLIER;
    
      static {
        Supplier<LongAddable> supplier;
        try {
          // trigger static initialization of the LongAdder class, which may fail
          LongAdder unused = new LongAdder();
          supplier =
              new Supplier<LongAddable>() {
                @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

    @ExtendWith(MockitoExtension.class)
    class SmbComLockingAndXTest {
    
        /**
         * Helper for setting a field via reflection.
         */
        private static void setField(Object target, String name, Object value) {
            try {
                Field f = target.getClass().getDeclaredField(name);
                f.setAccessible(true);
                f.set(target, value);
            } catch (Exception e) {
                fail("Failed to set field '" + name + "'", e);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/TemplateUtils.java

         * @return the rendered template
         */
        public static String render(String template, Map<String, Object> bindings) throws IOException {
            final StringWriter writer = new StringWriter();
    
            try {
                final SimpleTemplateEngine engine = new SimpleTemplateEngine();
                engine.createTemplate(template).make(bindings).writeTo(writer);
            } catch (ClassNotFoundException e) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

        }
    
        @Test
        public void test_exceptionThrown() {
            // Test that the exception can be thrown and caught properly
            String expectedMessage = "Command execution error occurred";
    
            try {
                throw new CommandExecutionException(expectedMessage);
            } catch (CommandExecutionException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseNotesIndexGenerator.java

     * for the current repository version.
     */
    public class ReleaseNotesIndexGenerator {
    
        static void update(Set<QualifiedVersion> versions, File indexTemplate, File indexFile) throws IOException {
            try (FileWriter indexFileWriter = new FileWriter(indexFile)) {
                indexFileWriter.write(generateFile(versions, Files.readString(indexTemplate.toPath())));
            }
        }
    
        @VisibleForTesting
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptParser.java

    import org.apache.maven.api.cli.Options;
    import org.apache.maven.cling.invoker.BaseParser;
    
    public class EncryptParser extends BaseParser {
        @Override
        protected Options parseCliOptions(LocalContext context) {
            try {
                return CommonsCliEncryptOptions.parse(context.parserRequest.args().toArray(new String[0]));
            } catch (ParseException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. docs/en/docs/deployment/cloud.md

    ## Cloud Providers - Sponsors { #cloud-providers-sponsors }
    
    Some other cloud providers ✨ [**sponsor FastAPI**](../help-fastapi.md#sponsor-the-author) ✨ too. 🙇
    
    You might also want to consider them to follow their guides and try their services:
    
    * [Render](https://docs.render.com/deploy-fastapi?utm_source=deploydoc&utm_medium=referral&utm_campaign=fastapi)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/orig/view/error/system.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><!DOCTYPE html>
    <% try{ %>
    ${fe:html(true)}
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><la:message key="labels.system_error_title" /></title>
    <link href="${fe:url('/css/bootstrap.min.css')}" rel="stylesheet"
    	type="text/css" />
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/concurrent/CommonPoolUtil.java

                final ClassLoader orignal = currentThread.getContextClassLoader();
                currentThread.setContextClassLoader(CommonPoolUtil.class.getClassLoader());
                try {
                    task.run();
                } catch (final Exception e) {
                    logger.error("Uncaught exception from " + task, e);
                } finally {
                    currentThread.setContextClassLoader(orignal);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java

            substringLicenseMatcher.addConfiguredPattern(pattern);
            return substringLicenseMatcher;
        }
    
        private ClaimStatistic generateReport(ReportConfiguration config, File xmlReportFile) {
            try {
                Files.deleteIfExists(reportFile.toPath());
                BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(xmlReportFile));
                return toXmlReportFile(config, bufferedWriter);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 10.6K bytes
    - Click Count (0)
Back to Top